CommandBarControl.Execute Method

Runs the procedure or built-in command assigned to the specified command bar control.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub Execute
'Usage
Dim instance As CommandBarControl

instance.Execute()
void Execute()

Remarks

For custom controls, use the OnAction property to specify the procedure to be run.

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.Office.Core Namespace