ColorStops.Count Property

Excel Developer Reference

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

Version Information
 Version Added:  Excel 2007

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