+ Reply to Thread
Results 1 to 4 of 4

Lock and Hide Sheets based on Tab Color

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    Salem, OR
    MS-Off Ver
    Excel 2010
    Posts
    7

    Lock and Hide Sheets based on Tab Color

    Hello,

    I'm looking for a macro solution to "Close" (Hide) Sheets based on the Color of the tab.

    In a workbook with colored tabs, where BLACK tabs are "Raw Data", GREEN are Graphical tabs, etc., I am intending for the macro, when activated, will (for example) lock and hide all RED tabs.

    I thought that this would work:

    Please Login or Register  to view this content.
    ...but, it does nothing. Any ideas on how to make this work?
    Last edited by arlu1201; 07-01-2013 at 01:54 AM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Lock and Hide Sheets based on Tab Color

    Hi WFM,

    I'd be leery of the protect part - but this may be what you want:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    03-13-2013
    Location
    Salem, OR
    MS-Off Ver
    Excel 2010
    Posts
    7

    Cool Re: Lock and Hide Sheets based on Tab Color

    That worked PERFECTLY!

    Thank You.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Lock and Hide Sheets based on Tab Color

    You're welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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