ColorStops.Clear Method

Excel Developer Reference

Clears the represented object.

Version Information
 Version Added:  Excel 2007

Syntax

expression.Clear

expression   An expression that returns a ColorStops object.

Return Value
Nothing

Example
Clears the current ColorStops

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

See Also