Hi Hari
See if David McRitchie's
http://www.mvps.org/dmcritchie/excel/colors.htm
is of help. And this little macro:
Sub Colors()
Dim L As Long
For L = 1 To 56
Cells(L, 1).Interior.ColorIndex = L
Cells(L, 2).Font.ColorIndex = L
Cells(L, 2).Value = "Colorindex " & L
Cells(L, 3).Value = "Colorindex " & L
Next
End Sub
HTH. Best wishes Harald
"Hari" skrev i melding
...
Hi,
In VB I want to use the fill color option based on certain conditions.
I know that yellow has a color index value 6.
I want to know where I can find a glossary for all the color index values.
Please tell me the source for the same. I searched in MS VB help but
couldnt
find the same.
Regards,
Hari
India