View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Patrick Molloy[_2_] Patrick Molloy[_2_] is offline
external usenet poster
 
Posts: 1,298
Default What are the values for ColorIndex 's 56 colors ? i.e. green=3 .

Option Explicit

Sub ShowColors()
Dim i As Long
For i = 0 To 56
Cells(i + 1, 1) = i
Cells(1 + i, 3).Interior.ColorIndex = i
Cells(1 + i, 2) = Cells(1 + i, 3).Interior.Color
Next
End Sub

"RandyDtg1" wrote:

What are the values for ColorIndex 's 56 colors ? i.e. green=3 ... Or
where can a table of the values be found ?