+ Reply to Thread
Results 1 to 11 of 11

VBA code to merge multiple sheet with multiple tabs into one workbook in different tabs

  1. #1
    Registered User
    Join Date
    10-15-2014
    Location
    Mumbai
    MS-Off Ver
    2010
    Posts
    23

    Post VBA code to merge multiple sheet with multiple tabs into one workbook in different tabs

    Hi Experts
    I am using the Ron de Bruin macro which merges multiple workbooks saved in a particular folder into one single workbook. The issue with this macro is that it extracts only one sheet/tab from the workbooks and merged them into one single workbook in different tab. I want to macro which pulls the data from different tabs if they are available as well in the final workbook.
    Example in case if a workbook consists of more than one tab, these tabs data should also added or included in the final workbook
    Regards,
    JD

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    Post the code you are using.

  3. #3
    Registered User
    Join Date
    10-15-2014
    Location
    Mumbai
    MS-Off Ver
    2010
    Posts
    23

    Post Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    Hi John

    Please find the code below:

    Main Code
    Please Login or Register  to view this content.
    Sub Procedure

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-15-2014
    Location
    Mumbai
    MS-Off Ver
    2010
    Posts
    23

    Post Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    Hi John

    Please find the entire code:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-15-2014
    Location
    Mumbai
    MS-Off Ver
    2010
    Posts
    23

    Post Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    Hi John

    I am getting error while uploading the entire code.

    Please find the macro attached.

    Regards,
    JD
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-15-2014
    Location
    Mumbai
    MS-Off Ver
    2010
    Posts
    23

    Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    Hi John

    Any view on the above thread.

    Regards,
    JD

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    See if this helps?
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-15-2014
    Location
    Mumbai
    MS-Off Ver
    2010
    Posts
    23

    Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    Hi John

    Perfect! It is working as well my expectation.

    Thanks a lot!

    Regards,
    JD

  9. #9
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    You're welcome. Glad to help out and thanks for the feedback. Please mark this thread as solved.

  10. #10
    Registered User
    Join Date
    10-15-2014
    Location
    Mumbai
    MS-Off Ver
    2010
    Posts
    23

    Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    Hi John

    I already marked it Solved, but I dunno why it is not reflecting in the main heading. If you check the sub-heading just above the main heading you will see the solved icon - [SOLVED] VBA code to merge multiple sheet with multiple tabs into one workbook in different tabs.

  11. #11
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to merge multiple sheet with multiple tabs into one workbook in different tab

    I see it now. Thanks.

+ 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 Multiple CSV files to one XLS with multiple tabs
    By Punnurocks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2014, 09:08 PM
  2. Replies: 0
    Last Post: 02-05-2014, 05:18 PM
  3. [SOLVED] Extract data from a workbook with multiple tabs, into a workbook with corresponding tabs
    By krackaberr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2013, 11:54 AM
  4. Replies: 4
    Last Post: 07-06-2012, 01:55 PM
  5. [SOLVED] selecting multiple sheet tabs and open another workbook
    By Bannor in forum Excel General
    Replies: 5
    Last Post: 11-24-2005, 10:40 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