Returns the CommandBarEvents object. Read-only.
Settings
The setting for the argument you pass to the CommandBarEvents property is:
Argument | Description |
vbcontrol | Must be an object of type CommandBarControl. |
Remarks
Use the CommandBarEvents property to return an event source object that triggers an event when a command bar button is clicked. The argument passed to the CommandBarEvents property is the command bar control for which the Click event will be triggered.