ColorScaleCriteria.Item property (Excel)

Returns a single ColorScaleCriterion object from the ColorScaleCriteria collection. Read-only.

Syntax

expression.Item (Index)

expression A variable that represents a ColorScaleCriteria object.

Parameters

Name Required/Optional Data type Description
Index Required Variant The index number of the ColorScaleCriterion object.

Remarks

The value of the Index parameter cannot be greater than the number of criteria set for a color scale conditional format. The criteria are equivalent to the threshold values assigned for the color scale.

To find the number of threshold values, use the Count property.

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.