mrchonginhk
Well-known Member
- Joined
- Dec 3, 2004
- Messages
- 679
For eg color for normal black is 1677215
Where to find the code of other color ??
Where to find the code of other color ??
Sub clr()
Dim lastR As Range, i As Integer
With ActiveSheet
.Range("a:b").Clear
For i = 1 To 56
Set lastR = .Range("a65536").End(xlUp)
lastR.Offset(i).Interior.ColorIndex = i
lastR.Offset(i, 1) = i
Next
End With
End Sub