Comditional Formatting Problem
Sub Red()
Range("F9").Select
If ActiveCell.Value 1 Then
ActiveCell.Font.ColorIndex = 3
End If
End Sub
would be what i would try if your cells contains percentages.
Also, if you are only working with the activecell, why select more than one
cell.
--
Regards,
Tom Ogilvy
"Ed P" wrote in message
...
Can someone help me determine what is wrong with the following code.
I am needing to change the color of the text in a cell to red if the cell
is
100%.
My code I have currently is follows.
Sub Red()
Range("F9:G9").Select
If ActiveCell.Value 100 Then
ActiveCell.Font.ColorIndex = 3
End If
End Sub
I appreciate any help you can give me.
If I am taking the wrong approach please advise.
Thank You
Ed
|