'Declaration Public Function AddDateOccurringRule( _ ByVal type As DateOccurringType, _ ByVal style As StyleInfo, _ ByVal ParamArray ranges() As CellRange _ ) As DateOccurringRule
'Usage Dim instance As ConditionalFormat Dim type As DateOccurringType Dim style As StyleInfo Dim ranges() As CellRange Dim value As DateOccurringRule value = instance.AddDateOccurringRule(type, style, ranges)
public DateOccurringRule AddDateOccurringRule( DateOccurringType type, StyleInfo style, params CellRange[] ranges )
Parameters
- type
- The DateOccurringType data occurring type.
- style
- The style that is set to the cell when the condition is met.
- ranges
- The cell ranges where the rule is applied.
Return Value
Returns the new data occurring rule.