IconCriterion.Value property (Excel)

Returns or sets the threshold value for an icon in a conditional format. Read/write Variant.

Syntax

expression.Value

expression A variable that represents an IconCriterion object.

Remarks

You can set the value only if the Type property for the conditional format is set to one of the following XlConditionValueTypes constants: xlConditionValueNumber, xlConditionValuePercent, xlConditionValuePercentile, or xlConditionValueFormula.

If the type of threshold is a formula, you can set the formula as a String. The formula must return a single number.

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.