+ Reply to Thread
Results 1 to 3 of 3

Tab Color Change

  1. #1
    Registered User
    Join Date
    08-15-2018
    Location
    Georgia, USA
    MS-Off Ver
    2013
    Posts
    1

    Tab Color Change

    Hello all and thank you in advance for your help...within my spreadsheet I have expiration dates and when the date is within 30 days of expiring the cell turns yellow, once the date passes it will turn red, and it turns green if I mark it complete.

    What I’m trying to figure out is how to get the tab to change colors as the cells change color. So if any cell is “red” then the tab turns red, regardless if there are yellow or green. Any yellow and green with no red then the tab turns yellow. Lastly tabs turn green or stay no color if there is no red or yellow.

    Let me know if I need to clarify

    Thanks again

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,072

    Re: Tab Color Change

    Hi & welcome to the board.
    Can you please post the code that you are currently using.
    When doing so please use code tags, the # icon in the reply window

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Tab Color Change

    Hi Ollie and welcome to the forum,

    Find the attached where I've started the problem by checking the range from A1 to Z200 for any Red cells. If there are any then the code makes the tab red. This is just a start but other colors need to be checked. See if this is what you want and it can be improved.

    Tab Color from Cell Color.xlsm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Replies: 1
    Last Post: 11-07-2017, 02:24 PM
  2. [SOLVED] vba code to change the cell color by looking in a range that contains the color index valu
    By ckklconner in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-24-2013, 09:15 AM
  3. Mouse rolls over to cell will change the tab color, font color and tp bold type
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-20-2013, 10:36 AM
  4. Find a duplicate and then use the duplicates interior.color to change cell color.
    By bopsgtir in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2012, 03:54 PM
  5. Replies: 0
    Last Post: 09-26-2012, 01:08 PM
  6. Replies: 3
    Last Post: 07-08-2010, 06:48 PM
  7. Format cell color on change, how to change the color in other columns as well?
    By s80NL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2007, 09:24 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