RedoAction method (Microsoft Forms)

Reverses the effect of the most recent Undo action.

Syntax

Boolean = object. RedoAction

The RedoAction method syntax has these parts:

Part Description
object Required. A valid object.

Remarks

Redo reverses the last Undo, which is not necessarily the last action taken. Not all actions can be undone. For example, after pasting text into a TextBox and then choosing the Undo command to remove the text, you can choose the Redo command to put the text back in.

Note

If the CanRedo property is False, the Redo command is not available in the user interface, and the RedoAction method is not valid in code.

RedoAction returns True if it was successful.

See also

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.