+ Reply to Thread
Results 1 to 4 of 4

Copy multiple columns with varying number of rows into one column on a new sheet and loop

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Copy multiple columns with varying number of rows into one column on a new sheet and loop

    I have columns A-K with a header in row 1. I need to move all the data in rows 2-? (varies) for each column into column A of a different sheet. And if possible, loop twice more for data in columns M-X and data in columns Z-AK. These two would populate columns B and C of the second sheet.

    I've got a script that works great except it copies ALL the columns into column A
    Can anyone use it as a jump-off point? I'd settle for one script that just copies A-K. I can always run two more modules for the other two data sets.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy multiple columns with varying number of rows into one column on a new sheet and l

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Copy multiple columns with varying number of rows into one column on a new sheet and l

    Works but seems to be pulling data from the sheet that the sheet we're copying is referencing....does that make sense? Needs to pull data/values from my Filter sheet and only copy the cells that have values >0 and skip blanks like the first script I posted.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy multiple columns with varying number of rows into one column on a new sheet and l

    Can you post an attachment with some sample data. Sorry for the late reply been a bit busy.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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