+ Reply to Thread
Results 1 to 10 of 10

Consolidate Dynamic Range from two worksheets into one Master Sheet

  1. #1
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Consolidate Dynamic Range from two worksheets into one Master Sheet

    Dear All,

    I hope you can help solve this.

    I have three worksheets, (i) Master (ii) Jan (iii) Feb worksheets all in the same workbook.

    The range in Both Sheets "Jan" and "Feb" are dynamically named but have fixed column but varying rows. The dynamic names are "Jan" and "Feb" respectively.

    Is there a way to copy and paste or stack all data from sheets Jan and Feb into the Master Sheet i.e. Jan pasted first and then Feb pasted from the last row following Jan.

    I would really appreciate it.

    Regards

    Laylow

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    This addin by Ron de Bruin should help

  3. #3
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    Dear Pepe,

    Thanks for the response, this is a brilliant Addin, but not doing what I really want.

    I appreciate your time.

    Regards

    Laylow

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    Hi Laylow,

    Let us know how this goes:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  5. #5
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    Thanks Trebor06,

    I will try this and get back to you soon, hopping on a flight now please don't be upset if response is a little late.

    Regards

    Laylow

  6. #6
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    I will try this and get back to you soon, hopping on a flight now please don't be upset if response is a little late
    No, that's no problem at all. I do appreciate it when I hear back as to how a proposed solution has gone and it's also good admin to mark the thread as solved in case others who subequently read over the thread know if the solution worked or not.

    Hope the flight went well.

    Regards,

    Robert

  7. #7
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    Dear Robert,

    This was magic thanks a bunch. Please accept my apologies for the very late response. I was once heavily into VBA programing some years back but now work as an airline pilot hence why I disappeared for a while without a response. I was only trying to tap into my left over knowledge of VBA hence why I needed some help. Still have so much love for programming!

    The code works fine BUT it copies all named ranges within the worksheet.

    (i) I want to be able to specify within the code the sheet names e.g. “Jan” or “Feb” or indeed the two range names respectively in that order that I want copied over to the “Master” sheet. I want "Jan" to be posted first before "Feb".



    Best Regards

    Laylow

  8. #8
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    Hi Laylow,

    Try this where the named ranges in the 'varMyArray' array will be used in the same order as they appear in that array:

    Please Login or Register  to view this content.
    Regards,

    Robert

    PS - When do I pick up my free boarding pass

  9. #9
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    Dear Roberts,

    This is magic and absolutely brilliant!

    Felt like I won the lottery to see the code work so nicely!

    I would have sent you a boarding pass but I fly a little west of your continent.

    You're the Best.

    Regards

    Laylow

  10. #10
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Consolidate Dynamic Range from two worksheets into one Master Sheet

    Thanks for the feedback and I'm glad we were able to provide you with a suitable solution.

    Thanks also for marking the thread as solved

    Regards,

    Robert

+ 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. Unable to consolidate all sheet to master sheet
    By sbehera in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2013, 02:48 PM
  2. [SOLVED] Consolidate Data from 1 Range on 1 Sheet in Multiple Workbooks to Master Workbook Sheet
    By Jennasis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2013, 06:11 AM
  3. Consolidate all the sheets into one master sheet
    By vignesh rocks in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2013, 08:41 AM
  4. Replies: 0
    Last Post: 07-20-2012, 04:44 PM
  5. Simple macro to consolidate text data worksheets into a master one. beginner, no clue
    By Mayyalondon in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-06-2012, 10:38 AM

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