Version Information
Version Added: Excel

Syntax

expression.Degree

expression A variable that represents a LinearGradient object.

Return Value
Double

Remarks
Uses values ranging from 0 - 360.

Example

Visual Basic for Applications
With Selection.Interior .Pattern = xlPatternLinearGradient .Gradient.Degree = 45 End With

See also: