Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a way to conditionally color a tab based on the value of a cell in
the worksheet? I'm using Excel 2003 (but will be upgrading soon to 2007) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Rosanne
I don't think you can directly link the tab color to a cell value; but, you can change the tab color in an event triggered by a change in the workbook or some worksheet event. It depends a lot on what is going to be changing in your particular situation. As an example, if you want a sheet tab to change color when you deactivate a sheet (it won't make much difference while the sheet is active since it will mostly be white then) you can have a code like: Private Sub Worksheet_Deactivate() Me.Tab.ColorIndex = Range("a1").Value End Sub This goes in the code associated with the particular worksheet. This will change the sheet tab color index to the value in cell A1 whenever you move to another sheet. Of course it will give an error if cell A1 contains an invalid color index; you can build the necessary error checking in the code or in the worksheet validation as you see fit. Good luck. Ken Norfolk, Va On Oct 29, 4:27*pm, Rosanne wrote: Is there a way to conditionally color a tab based on the value of a cell in the worksheet? *I'm using Excel 2003 (but will be upgrading soon to 2007) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can do it with some type of event code.
What type of value...text or numeric? How does the value change.......manually or formula driven? Post a range of numbers or samples of text. Gord Dibben MS Excel MVP On Wed, 29 Oct 2008 13:27:01 -0700, Rosanne wrote: Is there a way to conditionally color a tab based on the value of a cell in the worksheet? I'm using Excel 2003 (but will be upgrading soon to 2007) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
conditional formatting color | Excel Worksheet Functions | |||
Conditional Formatting on Color | Excel Worksheet Functions | |||
Color Conditional Formatting | Excel Worksheet Functions | |||
Conditional Formatting and Cell Color | Excel Worksheet Functions | |||
Conditional color formatting entries have wild color. | Excel Discussion (Misc queries) |