Version Information
Version Added: Excel

Syntax

expression.Count

expression An expression that returns a ColorStops object.

Return Value
Long

Remarks

Example
Returns the number of ColorStops in the active cell.

Visual Basic for Applications
ActiveCell.Interior.Gradient.ColorStops.Count

See also: