Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I used this to figure out the colors on a sheet I set up
Sub test() Dim r As Range For Each r In ActiveSheet.UsedRange Debug.Print r.Address, r.Interior.ColorIndex, r.Font.Color Next r End Sub But you'll have to check for yourself. I believe what you want is If ActiveCell.font.color = 255 then end if -- HTH, Barb Reinhardt "Can-Ann" wrote: Using Office 2007 I want to run a specific routine if a cell foreground is red. Can anyone show me what the formula would be. Thanks in Advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I automatically color a cell based upon a condition being | Excel Worksheet Functions | |||
Is there a way to color a cell if it meets specific condition | Excel Discussion (Misc queries) | |||
counting cell by color and condition | Excel Discussion (Misc queries) | |||
IF statement and color formatting for cell B1 for condition in A1 | Excel Worksheet Functions | |||
Using cell color as condition in equation | Excel Programming |