Share via


ColorScaleCriteria.Count Property

Excel Developer Reference

Returns a Long value that specifies the number of criteria for a color scale conditional format rule. Read-only.

Version Information
 Version Added:  Excel 2007

Syntax

expression.Count

expression   A variable that represents a ColorScaleCriteria object.

Remarks

The number of criteria is equivalent to the number of threshold values assigned for a color scale. This will be either two or three, depending on whether you use a two-color scale or three-color scale for the conditional format rule.

See Also