+ Reply to Thread
Results 1 to 3 of 3

Merge Multiple Worksheets to One

  1. #1
    Registered User
    Join Date
    11-03-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    22

    Merge Multiple Worksheets to One

    Hello,

    Very new to VBA so any help is much appreciated!

    I have a workbook with over 25 worksheets, of these worksheets I would like to merge 16 of them to one "Master" worksheet.

    These 15 worksheets are all in the same format with Row 1 being headings.
    Each worksheet is created from a dynamic list of data.

    I have found the code below which I have tried using however the problem with this is that it merges ALL worksheets I only want to merge the worksheets that I specify.

    Please Login or Register  to view this content.
    Thank you
    Last edited by Dnass; 11-10-2013 at 07:24 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Merge Multiple Worksheets to One

    If there's no logic in the naming pattern ("Data1", "Data2" etc), which would allow to be used in a looping function, you could declare an array with the worksheet names and then go just through each of those.

    Please Login or Register  to view this content.
    In your case that would be:

    Please Login or Register  to view this content.
    If you think that my answer was helpful, please click on the "Add to this user's Reputation" button.

  3. #3
    Registered User
    Join Date
    11-03-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Merge Multiple Worksheets to One

    Great thank you so much this worked perfectly!

+ 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 worksheets into one
    By ge0rge in forum Excel General
    Replies: 4
    Last Post: 09-06-2008, 06:38 AM
  2. merge multiple worksheets
    By dbsudy in forum Excel General
    Replies: 0
    Last Post: 03-13-2006, 04:20 PM
  3. how to merge ranges from multiple worksheets
    By crowleydl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-05-2005, 02:24 PM
  4. How do I merge multiple worksheets in excel ?
    By rene in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-2005, 01:05 PM
  5. How do I merge multiple worksheets into 1?
    By yoyoyojo in forum Excel General
    Replies: 0
    Last Post: 01-13-2005, 06:44 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