Frame.UndoAction Method (Outlook Forms Script)

Reverses the most recent action that supports the Undo command.

Syntax

expression.UndoAction

expression A variable that represents a Frame object.

Return value

A Boolean that is True if the method succeeds, False otherwise.

Remarks

Not all user actions can be undone. If an action cannot be undone, the Undo command is unavailable following the action.

You must apply this method before the form or control is updated. You may want to include this method in a form's PropertyChange event.

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.