
This Excel tutorial collects the VBA color code list for reference purpose, which includes ColorIndex, RGB color, VB color.
Excel ColorIndex
VBA Excel ColorIndex Property is to set color or get color for Objects like Cell color and Shape color. ColorIndex offers 56 basic colors plus the following special numbers.
ColorIndex Value
Explanation
-4142 / xlColorIndexNone / xlNone
No fill
-4105 / xlColorIndexAutomatic / xlAutomatic
Default color (white)
Example 1: Se...
Read More