ColorStops.Clear Method (Excel)

Clears the represented object.

Syntax

expression. Clear

expression An expression that returns a ColorStops object.

Return Value

Nothing

Example

Clears the current ColorStops

Range("A1:A10").Select 
With Selection.Interior 
 .Pattern = xlPatternLinearGradient 
 .Gradient.Degree = 90 
 .Gradient.ColorStops.Clear 
End With

See also

ColorStops Object