+ Reply to Thread
Results 1 to 2 of 2

VBA Script to Copy Multiple Excel Files into one excel file, putting them into Multi tabs

  1. #1
    Registered User
    Join Date
    03-10-2013
    Location
    Wiltshire
    MS-Off Ver
    Excel 2007
    Posts
    3

    VBA Script to Copy Multiple Excel Files into one excel file, putting them into Multi tabs

    I have a folder named Import containing numerous excel files (all starting with OBR) and within those files I only want to import the visible tabs not any hidden tabs into an excel file called 'Ops Board Report'.
    The Import folder where all the files I want to import into the Board Report are within
    "C:\Users\MyName\Documents\Board Report\Board Report\Import"
    the Board Report is within
    "C:\Users\MyName\Documents\Board Report\Board Report\Ops Board Report.

    How do I go about doing this?

  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: VBA Script to Copy Multiple Excel Files into one excel file, putting them into Multi t

    'WORKBOOKS W/MULTIPLE SHEETS MERGED INTO SHEETS IN CONSOLIDATION WORKBOOK
    Here's a macro for collecting data from all sheets in all files in a specific folder merging into matching sheets.The parts of the code that need to be edited are colored to draw your attention.
    Last edited by JBeaucaire; 12-26-2019 at 03:54 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!)

+ 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. Replies: 3
    Last Post: 09-09-2014, 07:13 PM
  2. Copy Tabs from different excel file by using code name of the tabs
    By varun.kalra1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2014, 02:03 PM
  3. Copy multiple excel files into one file
    By MichelleW36 in forum Excel General
    Replies: 1
    Last Post: 01-10-2014, 12:45 PM
  4. Replies: 2
    Last Post: 05-06-2013, 06:41 PM
  5. Merging multiple Excel files into tabs of one excel file without having to copy and paste?
    By BrettRCourtney in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-13-2013, 03:43 PM
  6. Consolidating multiple files into one excel file with multiple tabs
    By Chemistification in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-13-2012, 06:23 AM
  7. Replies: 0
    Last Post: 04-19-2012, 03:31 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