Index Property

Applies To

ChartGroup object, LegendEntry object, Trendline object.

Description

Returns the index number of the object within the collection of similar objects. Read-only Long.

Example

This example displays the index number of an object passed to this procedure.

MsgBox "The index number of this object is " & obj.Index