ColorStops.Count Property (Excel)

Returns or sets the count of the represented object. Read-only

Syntax

expression. Count

expression An expression that returns a ColorStops object.

Return Value

Long

Example

Returns the number of ColorStops in the active cell.

ActiveCell.Interior.Gradient.ColorStops.Count

See also

ColorStops Object