FormatColor.ColorIndex Property (Excel)

Returns or sets one of the constants of the XlColorIndex enumeration, specifying if the fill color is expressed as an index value into the current color palette.

Version Information

Version Added: Excel 2007

Syntax

expression .ColorIndex

expression A variable that represents a FormatColor object.

Remarks

This property is used for each threshold of a color scale or data bar conditional formatting rule.

See Also

Concepts

FormatColor Object Members

FormatColor Object