ColorStops.Count Property (Excel)
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
Example
Returns the number of ColorStops in the active cell.
ActiveCell.Interior.Gradient.ColorStops.Count