+ Reply to Thread
Results 1 to 14 of 14

Auto generate/update master sheet

  1. #1
    Registered User
    Join Date
    09-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Auto generate/update master sheet

    VBA macro below is a cmd button that generates cumulative list of all sheets in workbook, sheet generated is titled 'master'.

    Please Login or Register  to view this content.
    However, Im having issues trying to exclude a specific sheet (by name) and would like to ability to auto-update by selecting cmd button (as opposed to generating another 'master' sheet). Any advice on doing so?

    Thanks


    hr example.xlsm
    Last edited by sahsonk; 09-22-2015 at 02:03 PM.

  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: Auto generate/update master sheet

    Does this help?

    Please Login or Register  to view this content.
    Assumes Sheet("Master") has already been created.
    Last edited by JOHN H. DAVIS; 09-22-2015 at 02:31 PM.

  3. #3
    Registered User
    Join Date
    09-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Auto generate/update master sheet

    That solved the problem with updating, thanks!

    Any idea on how to exclude a sheet from the original macro? (i.e. exclude sheet1 from 'master' macro)

    Thanks agian!

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

    Re: Auto generate/update master sheet

    Try:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Auto generate/update master sheet

    Gave it a try and it doesnt seem to be working...

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

    Re: Auto generate/update master sheet

    What's not happening that you want too happen?

  7. #7
    Registered User
    Join Date
    09-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Auto generate/update master sheet

    I'm trying to exclude a sheet from applying to the original macro posted. Any ideas on how to exclude (for example) sheet1 from the master sheet being generated?

    Thanks again.

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Auto generate/update master sheet

    Perhaps:

    Please Login or Register  to view this content.
    _________________
    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!)

  9. #9
    Registered User
    Join Date
    09-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Auto generate/update master sheet

    Maybe a better question would be, how do I exclude 'Sheet1' from the following macro?

    Please Login or Register  to view this content.
    Thank you

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Auto generate/update master sheet

    Something like this:
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    09-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Auto generate/update master sheet

    Running smooth, Thank you!

  12. #12
    Registered User
    Join Date
    09-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Auto generate/update master sheet

    Any ideas how to exclude multiple sheets from the following code? (i.e. sheet1 & sheet2)

    Please Login or Register  to view this content.

  13. #13
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Auto generate/update master sheet

    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

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

    Re: Auto generate/update master sheet

    This will exclude two. How mmany do you want too exclude?

    Please Login or Register  to view this content.

+ 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. Auto Update multiple workbooks with one master through VBA
    By Kcherrey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2015, 03:58 PM
  2. Wen Master Excel Sheet Updated, Linked Sub Sheets Auto Update
    By juxtapozthis in forum Excel General
    Replies: 0
    Last Post: 02-17-2015, 05:32 PM
  3. Fillable forms that auto-update a master file
    By mhewitson15 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2014, 09:19 AM
  4. Replies: 1
    Last Post: 04-14-2014, 04:11 AM
  5. Generate files from master sheet
    By emu5088 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2013, 12:31 PM
  6. Auto update master worksheet from multiple worksheets
    By momossy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2010, 05:18 PM
  7. [SOLVED] how to set up master page that will auto update smaller pages
    By Chosin healing in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2006, 09:25 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