Hi,
can any one help me,
how to write macro for color code - Gold and Aqua color
Like: green - vbgreen
Regards
sagar
Hi,
can any one help me,
how to write macro for color code - Gold and Aqua color
Like: green - vbgreen
Regards
sagar
Run this code on a blank sheet to see the index number for each color.
Then, when you know which index number to use, here is the code to color a cell:Sub interior_colors() Dim i As Integer For i = 1 To 56 With Cells(i, 1) .Interior.ColorIndex = i .Offset(0, 1) = i End With Next End Sub
orSelection.Interior.ColorIndex = 3
HTHRange("A1:A10").Interior.ColorIndex = 3
Jason
thank you very much Jason
Regards
Sagar
No problem, Sagar.
Jasoncw, many many thanx, I have a color code chooser that I use with my phone log different colors indicate whether an event is complete or pending or whatever until now I have had to resort to trial and error finding the color code I wanted to use. Again Many thanx. I do love this forum.
"There are 10 kinds of people in the world, Those that understand binary, and those that don't."
Glad to help. Actually, I remembered this code from reading the board a few weeks ago. I received the knowledge, and just passed it on.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks