+ Reply to Thread
Results 1 to 2 of 2

Merge Spreadsheets

  1. #1
    Registered User
    Join Date
    02-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2000
    Posts
    3

    Merge Spreadsheets

    Hi all,

    Wonder if anyone can help.. I'm trying to merge over 60 excel files into one however the files are password protected and there are 6 tabs in each spreadsheet.
    Any ideas on how to quickly merge the files?

    Example
    one.xlsx tab = a,b,c,d,e
    two.xlsx tab = a,b,c,d,e
    three.xlsx tab = a,b,c,d,e
    four.xlsx tab = a,b,c,d,e

    Output:
    Master.xlsx with 5 different tabs.
    So All the sheets labelled a merged together,
    then all the sheets b *5 merged together etc etc
    to create one master file with 5 tabs and all the relevant data.

    I have tried a Macro but it keeps failing due to errors.

    Thanks for looking. Have a good weekend.

  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: Merge Spreadsheets

    '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.


    You will probably need to add in the code that unprotects the workbook if that is required to copy from the workbooks. First test it with a small set of workbooks you have manually unprotected to make sure the macro at its base will work, which it should, lots of people use it.
    Last edited by JBeaucaire; 12-26-2019 at 04:03 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. What is the best solution to merge two spreadsheets
    By PrincessJudi in forum Excel General
    Replies: 2
    Last Post: 08-23-2012, 04:01 PM
  2. Merge two spreadsheets
    By beanz98 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2010, 09:21 PM
  3. Merge two spreadsheets
    By TheNameless122 in forum Excel General
    Replies: 8
    Last Post: 07-09-2010, 07:54 AM
  4. Merge my 2 spreadsheets?
    By streetsoldier707 in forum Excel General
    Replies: 4
    Last Post: 11-23-2009, 03:53 PM
  5. Merge excel spreadsheets
    By ianma in forum Excel General
    Replies: 5
    Last Post: 03-18-2009, 05:02 AM
  6. merge 2 spreadsheets info to 1
    By JulesVern in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-23-2006, 01:36 AM
  7. [SOLVED] Merge Two Spreadsheets into 1 new sheet...
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2005, 08:06 PM
  8. [SOLVED] merge 2 spreadsheets
    By Gerrysr in forum Excel General
    Replies: 0
    Last Post: 02-25-2005, 01:06 PM

Tags for this Thread

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