+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Change the tab color based on value in a cell? Is it possible?

  1. #1
    Registered User
    Join Date
    11-14-2011
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    11

    Question Change the tab color based on value in a cell? Is it possible?

    I use conditional formating in my workbooks and was wondering if there is a way to use the same concept to change the color of a tab based on the value in a cell.

    Thanks!

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Change the tab color based on value in a cell? Is it possible?

    You won't be able to do this with conditional formatting, but a little VBA routine will work.

    Are you interested in using VBA?

    If so, when the user changes the value in cell A1 and it equals 2, then the tab is colored red.

    Please Login or Register  to view this content.
    This is worksheet code >> right click on sheet tab >> View Code >> Paste on right side of screen
    Last edited by jeffreybrown; 05-08-2012 at 07:47 PM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    11-14-2011
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Change the tab color based on value in a cell? Is it possible?

    Thanks Jeff, it worked great!

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Change the tab color based on value in a cell? Is it possible?

    You're very welcome tanda...glad you got it all sorted out and thanks for the feedback

+ 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