Execute Method (CommandBarControl Object)

Execute Method (CommandBarControl Object)

         Example         Applies To         Specifics

Runs the procedure or built-in command assigned to the specified command bar control. For custom controls, use the OnAction property to specify the procedure to be run.

Syntax

expression.Execute

expression   Required. An expression that returns a CommandBarControl, CommandBarButton, CommandBarPopup, or CommandBarComboBox object.