Public Sub ChangeCondition(ByVal comparisonType As Comparison, ByVal formula As String)
{signature}
{parameters}
{param:comparisonType}The type of comparison Excel will use when comparing a cell value to the result of {{formula}}. The comparison type must require only one formula and may be set to one of the following values: [Comparison.FormulaEvaluates|Condition.Comparison#FormulaEvaluates], {{Comparison.CellValueLessThan}}, [Comparison.CellValueGreaterThan|Condition.Comparison#CellValueGreaterThan], [Comparison.CellValueLessThanOrEqualTo|Condition.Comparison#CellValueLessThanOrEqualTo], [Comparison.CellValueGreaterThanOrEqualTo|Condition.Comparison#CellValueGreaterThanOrEqualTo], [Comparison.CellValueEqualTo|Condition.Comparison#CellValueEqualTo], or [Comparison.CellValueNotEqualTo|Condition.Comparison#CellValueNotEqualTo].{param}
{param:formula}The result of this formula will be compared to each cell value in the set of cells associated with the conditional format.{param}
{example}{code:csharp|title=C#} |