Class LinearGradient (Excel VBA)

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

ColorStops

Returns the ColorStops object for the LinearGradient object.

Degree

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

Parent

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