Edit

Share via


_CommandBarComboBox.Execute Method

Definition

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

public:
 void Execute();
public void Execute ();
abstract member Execute : unit -> unit
Public Sub Execute ()

Implements

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.

Applies to