Class LinearGradient (Excel VBA)

The LinearGradient object transitions through a series of colors in a linear manner along a specific angle.


Returns the ColorStops object for the LinearGradient object.


The angle of the linear gradient fill within a selection.

Uses values ranging from 0–360.

With Selection.Interior 
 .Pattern = xlPatternLinearGradient 
 .Gradient.Degree = 45 
End With


Returns the parent object for the specified object. Read-only.