ColorScaleCriterion.FormatColor property (Excel)

Returns a FormatColor object, which specifies the color assigned to the threshold of a color scale conditional format. Read-only.

Syntax

expression.FormatColor

expression A variable that represents a ColorScaleCriterion object.

Remarks

You can set the color of the minimum, midpoint, or maximum thresholds to any custom color by using the Color property or the ThemeColor property of the FormatColor object.

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.