Share via


_CommandBarComboBox.Execute Method

Runs a procedure, command, or user action depending on the specified object.

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

Syntax

'Declaration
Sub Execute
'Usage
Dim instance As _CommandBarComboBox

instance.Execute()
void Execute()

Implements

CommandBarControl.Execute()

Remarks

For the command bar objects, 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. For FileDialog objects of type msoFileDialogOpen or msoFileDialogSaveAs, carries out a user's action right after the Show method is invoked.

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Execute Overload

Microsoft.Office.Core Namespace