+ Reply to Thread
Results 1 to 2 of 2

Copying the same columns from multiple sheets into a new one

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    London, Ebgland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Copying the same columns from multiple sheets into a new one

    Hello.

    I have a workbook with many sheets, each with many columns used and I already have a load of code to get that down to 4 columns per sheet.
    Now what I need to do is to open a new sheet and copy all of the data from all 4 column of all of the sheets so I have 4 very long columns on one sheet.

    I've been trying to make this work, but Excel doesn't like it because the copy and paste ranges are different, but nothing I do seems to help!
    I thought I could specify 200 rows as I'll never have more than that on the source sheets, but then Excel thinks that the next blank row is 201!

    Please Login or Register  to view this content.
    Any help would be greatly appreciated.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copying the same columns from multiple sheets into a new one

    Try this code
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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