'Declaration
Public Shared Function CreateCellHighlight( _ ByVal condition As CellHighlightCondition, _ Optional ByVal styleType As ConditionalFormattingStylePresets _ ) As ConditionalFormattingCellHighlight
'Usage
Dim condition As CellHighlightCondition Dim styleType As ConditionalFormattingStylePresets Dim value As ConditionalFormattingCellHighlight value = ConditionalFormatting.CreateCellHighlight(condition, styleType)
public static ConditionalFormattingCellHighlight CreateCellHighlight( CellHighlightCondition condition, ConditionalFormattingStylePresets styleType )
Parameters
- condition
- The CellHighlightCondition.
- styleType
- The ConditionalFormattingsStylePreset.