CommandBarItems Members

This members are related to CommandBarItems Collection.

Functions

Name Description
InsertButton Adds a button to the command bar referencing the specified command. Return value: CommandBarItem.
InsertMacroButton Adds a button to the command bar referencing the specified global macro. Return value: CommandBarItem.
InsertPopupMenu Adds the specified context menu to the command bar. Return value: CommandBarItem.
InsertSeparator Adds a separator bar onto the command bar.
Paste Pastes the specified item onto the command bar.
RemoveAll Removes all command bar buttons from the command bar.

Properties

Name Description
Count Returns the number of command buttons on the command bar. Return value: Integer. This property is read only.
Item Returns a command button from the command bar. Return value: CommandBarItem. This property is read only.