+ Reply to Thread
Results 1 to 4 of 4

merge 24 seperate workbooks into one.

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    merge 24 seperate workbooks into one.

    I have 24differnet workbooks each with one sheet with data. Each sheet has the sae headers with differen amounts of info under the headers. I am looking for a quick way to get all 24 sheets in to one workbook instead of copying and paste. Thank you for your help

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: merge 24 seperate workbooks into one.

    instead of copying and paste
    You can't avoid that but a macro could do the job in a matter of seconds. Still you need to give a bit more information. What kind of excel files are you interested in ".xls", ".xlsx" or ".xlsm" or a mixture of all 3 kinds?

    Also are all the 24 files in the same folder or could there be more excel files in that folder you don't wish to "import"? Do you wish to have the header imported with each file or just the first header?

    To get the best solution to your problem I would recommend you upload at least one sample file.

    Alf

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    Re: merge 24 seperate workbooks into one.

    All 24 workbooks are in one folder. file ext is xls. All files are the same headers but i would like to bring the headers over so i can ID where they came from
    Attached Files Attached Files
    Last edited by Lasloja; 03-28-2013 at 01:35 PM.

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: merge 24 seperate workbooks into one.

    with one sheet with data
    ?

    As the uploaded workbook contains 3 sheets I assume that it is the sheet "Inventory Report" that you are interested in. As this is a pivot table I have not managed to copy both pivot formats and values. So for what it's worth here is a macro for copying the values.

    The line
    Please Login or Register  to view this content.
    must be changed to the folder name and hard disk where you have the excel files you are interested in.

    Please Login or Register  to view this content.
    In order to keep the pivot format one could perhaps copy the "Inventory Report" sheet from each of the 24 excel files and paste those in a "Master file". This would give you a master file with 24 sheets, one from each file.

    Alf

+ 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