+ Reply to Thread
Results 1 to 5 of 5

Disable Changing Tab Color?

  1. #1
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Disable Changing Tab Color?

    I have a workbook that has specific tab colors for each group/section in the workbook.

    And I find my staff are always changing those colors on my when they are not suppose to. Is there a way to disable the the changing of a worksheet color, and give them a msgbox saying sorry, you can't change the color?

    Would that fall under a workbook_sheetchange event?

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Disable Changing Tab Color?

    You can protect the workbook and then they cannot change the color.
    Or you can simply let them do whatever nonsense they are going to do then have a macro that loops through all of the tabs and colors them accordingly (or you can put that in the workbook to run on OPEN).
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Re: Disable Changing Tab Color?

    I wish i could protect the workbook, but there is to many reasons for needing to accessible to everyone.

    The 2nd approach may be the better way. I actually already have script that will change the tab colors based on a value of cell, ie, open, closed. And I could probably just check the value of each cell on each sheet and then set the correct color when the workbook opens.

    I was just hoping i could actually disable a user from changing the color to something different.

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Disable Changing Tab Color?

    Keep in mind protecting the workbook doesn't protect the SHEET.

  5. #5
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Re: Disable Changing Tab Color?

    Thanks.

    But I still need to let the user be able to add a new worksheet as needed. Just not be able to actually change the color of a 'default' worksheet.

    But I think I may have something that works. If I use a worksheet_deactivate event. If the user changes the Tab color, I can just force change it right back based on cell value within the workbook/worksheet.

    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. Changing Background Color for Active Cells, then back to Previous Color...
    By TMCinDC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-13-2016, 11:35 AM
  2. Any way to apply a color theme by changing the color of one cell ?
    By KomicJ in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2016, 01:11 PM
  3. Replies: 3
    Last Post: 08-18-2014, 12:47 PM
  4. [SOLVED] Changing fill color of shapes based on changing cell value
    By Stefan1983 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2012, 10:33 AM
  5. Changing all blue color numbers/texts to black color in cells...
    By dhyun3 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-05-2012, 10:17 AM
  6. changing cell color based on changing values
    By tvonbehren in forum Excel General
    Replies: 2
    Last Post: 09-16-2009, 12:33 PM
  7. macro: changing color of coloumn header based on rows color
    By rajaid in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2009, 06:43 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