Example Applies To
Returns the index number of the object within the collection of similar objects. Read-only Long.
For information about using the Index worksheet function in Visual Basic, see Using Worksheet Functions in Visual Basic.