+ Reply to Thread
Results 1 to 3 of 3

Combine worksheets from multiple workbooks in one

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Combine worksheets from multiple workbooks in one

    Hi,

    I Have a folder with +300 subfolders and within each one is a PDF and a xlsx file
    I would like some code that opens each folder and copy's all the sheets in the xlsx files into one new workbook, the vast majority of workbooks have one worksheet but in a few cases there are more

    Any help as always is greatly apricated

    Kevin

    Combine worksheets from multiple workbooks in one

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Combine worksheets from multiple workbooks in one

    You want the result workbook to have +300 worksheets?

    Do you care what the result sheet names are or what file they came from?

    There are lots of example code for something like this. Try searching for ...
    excel vba merge workbooks in subfolders

    Or this to be site specific...
    excel vba merge workbooks in subfolders site:excelforum.com
    Last edited by AlphaFrog; 10-30-2019 at 09:20 AM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Combine worksheets from multiple workbooks in one

    Yes, 300 worksheets if possible

    No, I don't mind

    I will have a look at the links

    Thank you for looking
    Last edited by Excelski; 10-30-2019 at 09:39 AM. Reason: Cant find quotes!

+ 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. Combine worksheets from multiple workbooks with file name
    By coronakyk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2016, 11:14 AM
  2. Combine worksheets from multiple workbooks
    By aaron_burr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-15-2015, 10:49 AM
  3. [SOLVED] Combine worksheets from multiple workbooks in a new workbook
    By teton88 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-27-2014, 01:14 PM
  4. Required Macro for combine multiple workbooks which contains multiple worksheets
    By DHANASEKARAN in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2013, 03:20 PM
  5. Need to combine data from multiple worksheets in multiple workbooks into 1 worksheet
    By ginric99 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-30-2013, 07:58 AM
  6. Combine Worksheets from Multiple Workbooks
    By kim5012 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2012, 04:59 PM
  7. Combine 2 workbooks together with multiple worksheets
    By dcnorman07 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2008, 04:32 PM

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