Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
greetings,
simple question (I think). Many thanks for any input on this. Is there a way using Range to set cells to either red or green depending on whether they are 5% (red), or less (green). I'm on office 2003. I'm currently doing this using the looping logic and that's pretty slow. I'm hoping the range option will be faster. If Excel.Range(ActiveCell.Offset(1, 110), _ ActiveCell.Offset(1, 1)).Value = 0.05 Then Excel.Range(ActiveCell.Offset(1, 110), _ ActiveCell.Offset(1, 110)).Font.ColorIndex = 3 Else Excel.Range(ActiveCell.Offset(1, 110), _ ActiveCell.Offset(1, 110)).Font.ColorIndex = 10 End If regards, CG |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change font color depending on cell value | Excel Worksheet Functions | |||
Extracting font color within a range | Excel Programming | |||
conditional depending on font color help? | Excel Programming | |||
How do I get the font color to change automatically depending on | Excel Discussion (Misc queries) | |||
font color depending upon value possible? | Excel Programming |