CommandBarControls Object Members

A collection of CommandBarControl objects that represent the command bar controls on a command bar.

Methods

  Name Description
Aa433299.methods(en-us,office.12).gif Add Creates a new CommandBarControl object and adds it to the collection of controls on the specified command bar.

Properties

  Name Description
Aa433299.properties(en-us,office.12).gif Application Gets an Application object that represents the container application for the CommandBarControls object (you can use this property with an Automation object to return that object's container application). Read-only.
Aa433299.properties(en-us,office.12).gif Count Gets a count of the numbers of controls on a command bar. Read-only.
Aa433299.properties(en-us,office.12).gif Creator Gets a 32-bit integer that indicates the application in which the CommandBarControls object was created. Read-only.
Aa433299.properties(en-us,office.12).gif Item Gets a CommandBarControl object from the CommandBarControls collection. Read-only.
Aa433299.properties(en-us,office.12).gif Parent Gets the Parent object for the CommandBarControls object. Read-only.