+ Reply to Thread
Results 1 to 6 of 6

Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]

  1. #1
    Forum Contributor
    Join Date
    03-22-2012
    Location
    OR, USA
    MS-Off Ver
    Excel 14/2010
    Posts
    273

    Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]

    I am attempting to read data from multiple columns and lines into an array(?). The Range is ("A2:J" & LastRow).

    I then need to write the data into another worksheet into a single line starting with Column 26.

    I have attached a sample worksheet and the code I have to far in the module. Any help would be appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]

    Please Login or Register  to view this content.
    Kind regards, Harry.

  3. #3
    Forum Contributor
    Join Date
    03-22-2012
    Location
    OR, USA
    MS-Off Ver
    Excel 14/2010
    Posts
    273

    Re: Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]

    Now how would I reverse that function? Where it reads CLAIM_INFO from row (where row = DCN) starting at column 26 to endCol and the puts that data into the BILL_INFO where every 10 columns is a new line?
    Last edited by lloydgodin; 06-15-2012 at 06:06 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-22-2012
    Location
    OR, USA
    MS-Off Ver
    Excel 14/2010
    Posts
    273

    Re: Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]

    I appreciate the help. I am having the following issues:

    I need the Row to be a variable based on rowNbr = DCN+1
    Please Login or Register  to view this content.
    The same goes with this section:

    Please Login or Register  to view this content.
    Last edited by lloydgodin; 06-15-2012 at 06:11 PM. Reason: additional issues

  6. #6
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]

    Both codes are variable.

    1). The code is variable from Range ("A2") to the row of the filled-in cells.
    2). As well as the number of completed columns.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1