Description

Returns a child control identified by its key or id.

Property type

A McCommandBarControl object.  

Syntax

object.Item(Index)

The Item Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McCommandBarControls.
IndexRequired. A Variant value.

A String (the key) or a number (the ID) used to identify the control.

Remarks

Keys are unique in the collection while ID's are globally unique.