Index property (Excel Graph)

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

Syntax

expression.Index

expression Required. An expression that returns one of the objects in the Applies To list.

Example

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

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.