+ Reply to Thread
Results 1 to 4 of 4

Consolidation Macro

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    7

    Consolidation Macro

    Hi All,

    I have 7 different workbooks that all contain the same headings in Columns A:H (only one sheet per workbook). I need a macro to loop through all seven workbooks, copy the data from A1 to Column H of the final row in that sheet (it varies in length), and paste them into my workbook on the "Master Sheet" tab. However, the data must be pasted at the end of the data that is already contained in the document, so I don't copy over anything. Also, if a file is not found, I want it to skip over it.

    Can anyone help? I appreciate it.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidation Macro

    I have few codes on consol, so to help you, could you please attache a sample workbook with desired output?

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

    Re: Consolidation Macro

    Are your 7 files in a folder?

    What do you mean by if the file is not found? Where will the file names be listed?
    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]

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidation Macro

    This is Jerry's code,not mine, but very flexible one.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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