Compartir a través de


ConditionValue.Value Property

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property Value As Object
    Get
'Usage
Dim instance As ConditionValue
Dim value As Object

value = instance.Value
Object Value { get; }

Property Value

Type: System.Object
Object

Remarks

You can set the value only if the ConditionValue.Type property for the conditional format is set to one of the following 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.

See Also

Reference

ConditionValue Interface

ConditionValue Members

Microsoft.Office.Interop.Excel Namespace