ConditionValue.Value property (Excel)

Returns or sets the shortest bar or longest bar threshold value for a data bar conditional format. Read/write Variant.

Syntax

expression.Value

expression A variable that represents a ConditionValue 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 threshold type 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.