+ Reply to Thread
Results 1 to 1 of 1

Macro to Combine Multiple Workbook Data into Single Target Workbook

  1. #1
    Registered User
    Join Date
    11-03-2010
    Location
    Costa Mesa, California
    MS-Off Ver
    Excel 2003
    Posts
    28

    Macro to Combine Multiple Workbook Data into Single Target Workbook

    Hi,

    I have the following code that I used for a prior project using Excel 2003 and its related libraries. The code was used to pull data from a folder full of excel files that all had the same single page layout but different data and combine the data in a single target-workbook.

    I am now trying to use the same code with Excel 2010 to go through a folder of new excel files that have a different layout than in the prior project. With the new files (see attached example) I want to copy the source data from the "Enter Data Here" sheet and add it to the destination workbook that is running the macro. (Please note that the "Enter Data Here" is not always consistently the same sheet number from one file to the next, so we would need to reference the sheet name and not the number.)

    - I was planning to have the destination workbook receive the combined data on the sheet called "Pasteit".

    When I run the code in Excel 2010, it opens the first file and then hangs on line 28. I feel like I'm missing something obvious.... your advice would be greatly appreciated!

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to find data in source workbook and copy paste to target workbook
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-23-2014, 06:21 AM
  2. Data from multiple workbook into single workbook
    By buttnana in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2014, 06:41 PM
  3. macro to copy data from multiple workbooks in a single workbook
    By blyzzard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2011, 05:34 AM
  4. Combine multiple workbooks into one single workbook
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-23-2010, 09:38 PM
  5. copying data from source workbook to target workbook by headers
    By tweety127 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2009, 11:35 PM

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