[VBA]Sub test()
Dim i As Integer
For i = 1 To 255
Cells(i, 1).Interior.Color = i
Cells(i, 2) = Cells(i, 1).Interior.Color
Next i
End Sub
[/VBA]
When I run the code above in Office 2003 or below, I cannot get expected color scale from black to red. Instead, I just get three kinds of color: 0, 128 and 255.
I know this code works in Office 2007.
Why? How can I make it works in 2003? Thanks in advance!