View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Jarek[_10_] Jarek[_10_] is offline
external usenet poster
 
Posts: 1
Default Simple Q about font color

Hi,
I think MsgBox Range("A1").Font.ColorIndex works. Try next procedure.

Sub test_colorindex()
For i = 0 To 56
With Range("A1").Offset(i)
.Value = i
.Font.ColorIndex = i
.Offset(, 1).Value = .Font.ColorIndex
End With
Next i
End Sub

Jare

--
Message posted from http://www.ExcelForum.com