Applies To
Frame control, Page object, UserForm object.
Description
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
CanRedo property, CanUndo property, UndoAction method.
Example
See the CanRedo property example.