+ Reply to Thread
Results 1 to 2 of 2

copy dynamic range from multiple workbooks/sheets

  1. #1
    Registered User
    Join Date
    06-11-2007
    Posts
    1

    copy dynamic range from multiple workbooks/sheets

    I have several worrkbooks, all in the same directory, that each have a sheet named "forecast". I would like to have a macro in a separate workbook called "rollup" that will copy a range of data from each of the "forecast" worksheets and consolidate that data into a new worksheet that would be labeled with the date. Basically I would create this "rollup forecast" on a weekly basis.

    The data I am interested in always starts in row 6 and is in columns A through P but varies in length.
    Additionally I only want to copy the data if column B contains text.
    Thanks,

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try this macro

    Please Login or Register  to view this content.
    You will need to set the folder name accordingly and adjust the wildcard in the first dir statement if there are other workbooks in the same folder that you don't want to touch.
    Martin

+ 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