ColorScaleCriterion.Type Property (Excel)

Returns one of the constants of the XlConditionValueTypes enumeration, which specifies how the threshold values for a data bar or color scale conditional format are determined. Read-only.

Version Added: Excel 2007

expression .Type

expression A variable that represents a ColorScaleCriterion object.

The type of threshold value for a data bar or color scale can be a number, percent, formula, or percentile. Setting the type to percentile will use the Percentile function in Microsoft Excel to determine the threshold value.

© 2015 Microsoft