Description |
---|
Excerpt |
---|
Creates a Condition of the specified ComparisonType. |
Signature | ||||
---|---|---|---|---|
| ||||
public Condition CreateCondition(Comparison comparisonType, System.String formula) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Function CreateCondition(ByVal comparisonType As Comparison, ByVal formula As String) As Condition |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
A Condition constant representing the type of comparison Excel will use when comparing a cell value to the result of the parameter |
Param | ||||
---|---|---|---|---|
| ||||
The result of this formula will be compared to each cell value in the set of cells associated with the conditional format. |
Returns |
---|
A Condition object representing the condition created. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|