ItemIndex

This read-only property returns the index of an item specified by name.

Syntax

ItemIndex (Name as String) as Long
Parameter Description
Name Name specifying an item in the collection.