+ Reply to Thread
Results 1 to 4 of 4

Copy multiple workbooks/worksheets into one summary workbook

  1. #1
    Registered User
    Join Date
    04-21-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copy multiple workbooks/worksheets into one summary workbook

    Hi,

    I'm new to Macro. At work, I have about 30 workbooks (each contains 1 to 2 worksheets) that I need to copy into one summary workbook each month. 1) How can I record a Macro to copy the 30 workbooks into the summary workbook? 2) Can I run the Macro without opening the 30 workbooks?

    Thanks.

  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: Copy multiple workbooks/worksheets into one summary workbook

    Are the 30 files stored in one folder?

    Do they need to be copied to a new workbook or an already existing book but on the next available row?
    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]

  3. #3
    Registered User
    Join Date
    04-21-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Copy multiple workbooks/worksheets into one summary workbook

    Yes, the 30 files are saved in different folders.

    Let's say I have a summary workbook named WB-MasterFile. Within the WB-MasterFile, I have 30 tabs labeled as WB-1, WB-2, WB-3, WB-4, etc... I also have 30 different workbooks named WB-1, WB-2, WB-3, WB-4, etc... I need to copy workbook WB-1 into WB-MasterFile tab WB-1, copy workbook WB-2 into WB-MasterFile tab WB-2, etc...

    Thanks.

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

    Re: Copy multiple workbooks/worksheets into one summary workbook

    Ok, are the 30 files saved in the main root folder? If they are saved in different folders, how would the macro know which file to open?

+ 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