ColorScaleCriteria.Item Property (Excel)
Returns a single ColorScaleCriterion object from the ColorScaleCriteria collection. Read-only.
Version Information
Version Added: Excel 2007
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 an 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 ColorScaleCriteria.Count property.