'Declaration Public Function AddDuplicateRule( _ ByVal style As StyleInfo, _ ByVal ParamArray ranges() As CellRange _ ) As DuplicateRule
'Usage Dim instance As ConditionalFormat Dim style As StyleInfo Dim ranges() As CellRange Dim value As DuplicateRule value = instance.AddDuplicateRule(style, ranges)
public DuplicateRule AddDuplicateRule( StyleInfo style, params CellRange[] ranges )
Parameters
- style
- The style that is applied to the cell.
- ranges
- The cell ranges where the rule is applied.
Return Value
Returns the new unique rule.