Colour codes?

  • Thread starter Thread starter mevetts
  • Start date Start date
M

mevetts

Hi,

Is there any way of finding out what the numbers in VBA code correspond
to?

I think 39 = purple and 3 = red?

Cheers,

Mark.
 
Sub TestColor()
Dim i As Long
For i = 1 To 56
Range("a" & i).Interior.ColorIndex = i
Next i
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top