CreateCellValueCfRuleCommand Method
In This Topic
Syntax
'Declaration
Public Shared Function CreateCellValueCfRuleCommand( _
ByVal As Worksheet, _
ByVal () As Reference, _
ByVal As FormatConditionType, _
ByVal As FormatConditionOperator, _
ByVal As String, _
ByVal As String, _
ByVal As ContainsOperator, _
ByVal As TimePeriods, _
ByVal As StyleFormat _
) As FormatConditionalCommand
'Usage
Dim worksheet As Worksheet
Dim references() As Reference
Dim cfType As FormatConditionType
Dim cellOperator As FormatConditionOperator
Dim value1 As String
Dim value2 As String
Dim textOperator As ContainsOperator
Dim dateOperator As TimePeriods
Dim styleFormat As StyleFormat
Dim value As FormatConditionalCommand
value = FormatConditionalCommand.CreateCellValueCfRuleCommand(worksheet, references, cfType, cellOperator, value1, value2, textOperator, dateOperator, styleFormat)
Parameters
- worksheet
- references
- cfType
- cellOperator
- value1
- value2
- textOperator
- dateOperator
- styleFormat
See Also