FormatColor.Color property (Excel)

Returns or sets the fill color associated with a threshold for a data bar or color scale conditional formatting rule.

Syntax

expression.Color

expression A variable that represents a FormatColor object.

Remarks

The format color is expressed as an RGB function. For example, to set the color to red, use RGB(255,0,0).

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.