Muokkaa

Jaa


OlkCommandButton.Exit event (Outlook)

Occurs just after the focus passes from this control to another control on the same form.

Syntax

expression. Exit( _Cancel_ )

expression A variable that represents an OlkCommandButton object.

Parameters

Name Required/Optional Data type Description
Cancel Required Boolean False when the event occurs. If the event procedure sets this argument to True, the exit operation is not completed and the focus remains in this control.

See also

OlkCommandButton Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.