CommandBars Members

These members control various options dealing with Command Bars.

Functions

Name Description
Add Adds a toolbar to the application. Top level menus and context menus cannot be added. Return value: CommandBar.
Delete Removes a user added toolbar from the application.
ResetAll Resets all command bars in the collection to their default state.

Properties

Name Description
Application Returns the application associated with the command bars collection. Return value: Application. This property is read only.
Count Returns the number of the command bars. Return value: Long. This property is read only.
FindItem Returns the named command bar from this collection. Return value: CommandBar. This property is read only.
Item Returns a command bar. Return value: CommandBar. This property is read only.
Parent Returns the command bar options object. Return value: CommandBarOptions. This property is read only.
Type Returns the type of this collection. Return value: BarType. This property is read only.