Description
Creates a Condition of the specified ComparisonType.
C#
vb.net
Parameters
comparisonType
A Condition constant representing the type of comparison Excel will use when comparing a cell value to the parametersformula1
and formula2
. The comparison type must require two formulas and may be set to one of the following values: Condition.Comparison.CellValueBetween or Condition.Comparison.CellValueNotBetween..
formula1
The formula to use for the minumum value.formula2
The formula to use for the maximum value.Returns
A Condition object representing the condition created.Examples
C#
vb.net