+ Reply to Thread
Results 1 to 3 of 3

How to merge all current and new excel sheets in a single folder

  1. #1
    Registered User
    Join Date
    01-06-2018
    Location
    alex
    MS-Off Ver
    Microsoft Excel 2019 MSO (Version 2301 Build 16.0.16026.20196) 32-bit
    Posts
    50

    How to merge all current and new excel sheets in a single folder

    Hello,
    I have in work application an option to export requests.
    Each request is saved as a single xls file, but with different number of rows based on the request it self.

    What i'm doing now, is opening every single file and copying the data into the main file for record keeping in a single place.

    Is there a better way to do it more automated way?

    Thanks.

    Uploaded both files, and the final main file.

    Hope you can help.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    8,046

    Re: How to merge all current and new excel sheets in a single folder

    This version assumes your "Final" workbook is in the same folder
    Please Login or Register  to view this content.
    This version for if the "Final" workbook is in another folder
    Please Login or Register  to view this content.
    You may wish to add some code to park the processed files away in a folder elsewhere to prevent them being processed again the next time you run the code.

    Copy and paste whichever one suits your needs into a standard module and run it.

    BSB

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2508 Win 11
    Posts
    24,957

    Re: How to merge all current and new excel sheets in a single folder

    https://www.youtube.com/watch?v=Nbhd0B5ldJE
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Merge All Sheets From All Selected Folders Into One Folder
    By CoSinus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2021, 08:41 AM
  2. Need code to merge PDF files in a folder in to single PDF file using adobe reader
    By Anisusa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-24-2017, 07:40 AM
  3. Merge Excel sheets in a folder.
    By mohit999 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2017, 04:44 AM
  4. Merge multiple sheets into single sheet
    By jocl1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2015, 04:41 PM
  5. Merge multiple excel files into single file as different sheets
    By saidineshbabu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2015, 12:38 AM
  6. [SOLVED] merge column D from all csv files in folder to single master workbook
    By up&down in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-04-2014, 06:31 PM
  7. Merge workbooks in a folder and rename sheets to previous filenames
    By zej in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2013, 10:19 AM

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