Posted to microsoft.public.excel.programming
|
|
Color a cell
try this. chg from red (3) to whatever color desired.
Sub Macro2()
For Each c In Selection
If c.Style = "Percent" Then
c.Interior.ColorIndex = 3
End If
Next
End Sub
--
Don Guillett
SalesAid Software
"Duncan_J" wrote in message
...
I'm trying to get a formula in my macro to color every cell with a %
green.
Any help,
Thanks,
DJ
|