+ Reply to Thread
Results 1 to 8 of 8

Master template - exclude certain receiving tabs/sheets when running macro

  1. #1
    Registered User
    Join Date
    01-02-2014
    Location
    Cape Town
    MS-Off Ver
    Excel 2007
    Posts
    88

    Master template - exclude certain receiving tabs/sheets when running macro

    Good day
    We have created receiving sheets and the macro works fine. Problem we have is that we need to exclude certain sheet from the update. In this case only the sheets with peoples names in the tabs need update and not the others, is it possible? There might be times that we need to update some of the "no names" tabs but for now its not that important but it would be helpful to include/exclude some of the sheets when necessary

    I'm attaching the workbook/master template
    Many thanks in advance

    Please Login or Register  to view this content.
    Last edited by Roma1r; 03-12-2018 at 01:42 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,756

    Re: Master template - exclude certain receiving tabs/sheets when running macro

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-02-2014
    Location
    Cape Town
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Master template - exclude certain receiving tabs/sheets when running macro

    Done - my apologies

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,756

    Re: Master template - exclude certain receiving tabs/sheets when running macro

    Thank you.

  5. #5
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Master template - exclude certain receiving tabs/sheets when running macro

    Something like this.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  6. #6
    Registered User
    Join Date
    01-02-2014
    Location
    Cape Town
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Master template - exclude certain receiving tabs/sheets when running macro

    Hi there
    it's complaining "Sub Terminals" and "myarr"

    Not sure what to do as I'm not good in maros at all

    Please Login or Register  to view this content.

  7. #7
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Master template - exclude certain receiving tabs/sheets when running macro

    You're probably using Option Explicit so try this way.
    Please Login or Register  to view this content.

  8. #8
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Master template - exclude certain receiving tabs/sheets when running macro

    You're welcome and thanks for rep+.

+ 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. [SOLVED] Exclude a sheet in workbook when running a Macro
    By PsychicFish in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-14-2016, 05:19 PM
  2. Replies: 1
    Last Post: 11-20-2015, 11:36 AM
  3. Need help how to setup code to create new sheets to a template based on a master sheet
    By Badassfullsize in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2015, 11:15 PM
  4. Master sheet into template, copy template to sheets named after master column.
    By M4R1N3R in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2015, 12:24 PM
  5. Replies: 1
    Last Post: 03-18-2015, 10:55 AM
  6. [SOLVED] Create new sheets based on template from master sheet data/information?
    By jlaurnm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-13-2012, 08:09 PM
  7. [SOLVED] [SOLVED] shipping / receiving log template
    By macnichol in forum Excel General
    Replies: 0
    Last Post: 07-19-2006, 11:00 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