_CommandBarButton.Execute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Runs the procedure or built-in command assigned to the specified command bar control.
public:
void Execute();
public void Execute ();
abstract member Execute : unit -> unit
Public Sub Execute ()
Implements
Remarks
For custom controls, use the OnAction property to specify the procedure to be run.