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.

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.