'Declaration
Function AddColorScale( _ ByVal colorScales As Integer _ ) As IColorScale
'Usage
Dim instance As IFormatConditions Dim colorScales As Integer Dim value As IColorScale value = instance.AddColorScale(colorScales)
IColorScale AddColorScale( int colorScales )
Parameters
- colorScales
- An integer value that indicates the number of color scales.
Return Value
A new IColorScale object representing a conditional formatting rule that uses gradations in cell colors.