Version

SetValue(FormatConditionValueType) Method

Sets the ValueType property to the specified FormatConditionValueType value.
Syntax
'Declaration
 
Public Overloads Sub SetValue( _
   ByVal valueType As FormatConditionValueType _
) 
public void SetValue( 
   FormatConditionValueType valueType
)

Parameters

valueType
The new value for the ValueType property.
Remarks

The valueType parameter must be set to one of the following values or an exception is thrown:

  • AutomaticLowest
  • AutomaticHighest
  • LowestValue
  • HighestValue

To set the Value property to a numeric value, use the SetValue(Double,FormatConditionValueType) method.

To set the ValueType property to Formula, use the SetFormula method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also