Items Collection

This object represents a collection of Menu objects for a CommandBarMenuBar control.

Syntax

CommandBarMenuBar.MenuBar(index)

CommandBarMenuBar.MenuBar.Item(index)

Parameters

CommandBarMenuBar
Object expression that evaluates to a CommandBarMenuBar control.
index
Integer or string that uniquely identifies a member of an object collection. An integer is the value of the Index property; a string is the value of the Key property.

The Items collection supports the following properties:

The Items collection supports the following methods:

Remarks

The Items collection is a 1-based collection, which means the collection's Index property begins with the number 1 (versus 0 in a 0-based collection).