CommandBarControls members (Office)

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

Methods

Name Description
Add Creates a new CommandBarControl object and adds it to the collection of controls on the specified command bar.

Properties

Name Description
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.
Count Gets a count of the numbers of controls on a command bar. Read-only.
Creator Gets a 32-bit integer that indicates the application in which the CommandBarControls object was created. Read-only.
Item Gets a CommandBarControl object from the CommandBarControls collection. Read-only.
Parent Gets the Parent object for the CommandBarControls object. Read-only.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.