+ Reply to Thread
Results 1 to 3 of 3

all sheets from folder to workbook

  1. #1
    Forum Contributor
    Join Date
    05-13-2013
    Location
    Swindon UK
    MS-Off Ver
    Excel 2010
    Posts
    277

    all sheets from folder to workbook

    hi

    I have about 32 separate excel sheets in one folder, what code do I need to put all 32 sheets into 1 workbook . ie 32 tabs in one workbook with all the separate sheet names on the tabs

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: all sheets from folder to workbook

    'WORKBOOKS TO SHEETS
    Here's a macro for collecting data from all files in a specific folder. This version copies each sheet in as a whole.The parts of the code that need to be edited are colored to draw your attention.
    Last edited by JBeaucaire; 12-26-2019 at 04:47 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: all sheets from folder to workbook

    Here are a couple of articles about that.
    Article 1
    Article 2
    David
    (*) Reputation points appreciated.

+ 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. Marcto to copy sheets from one workbook to a master sheet, for all files in folder
    By crombieguy91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2013, 11:12 AM
  2. open files in folder and copy sheets to new workbook
    By matrix_xrs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2013, 06:56 AM
  3. Code to create New Folder (if doesn't exist) and then Save Workbook to folder
    By jenhawley in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-10-2013, 03:09 PM
  4. Replies: 5
    Last Post: 10-08-2012, 10:15 AM
  5. [SOLVED] Copy All Sheets From Each Workbook in Folder to a Single Sheet in New Workbook
    By DHartwig35805 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-21-2012, 03:53 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