Share via


Visual Basic Extensibility Reference

CommandBarEvents Object

See Also   Example   Properties   Methods   Events   Specifics



Returned by the CommandBarEvents property. The CommandBarEvents object triggers an event when a control on the command bar is clicked.

Remarks

The CommandBarEvents object is returned by the CommandBarEvents property of the Events object. The object that is returned has one event in its interface, the Click event. You can handle this event using the WithEvents object declaration.