Google Search Results
Demonstration script that displays the various colors — and their related color index — available when programmatically controlling Microsoft Excel
Set excel = CreateObject( "Excel.Application" )
With excel
.Visible = True
.Workbooks.Add
For i = 1 to 56
.Cells( i, 1 ).Value = i
.Cells( i, 1 ).Interior.ColorIndex = i
Next
End With
Posted in MS-Excel

daniva




May 2nd, 2008 at 11:35 am
fine
August 26th, 2008 at 7:11 am
Yes it works!!! But insteas of printing the index, is there any way to display the hexadecimal color code?