Redo Method
Applies To
Document object.
Description
Redoes the last action that was undone (reverses the Undo method). Returns True if the actions were redone successfully.
Syntax
expression.Redo(Times)
expression Required. An expression that returns a Document object.
Times Optional Variant. The number of actions to be redone.
See Also
Repeat method, Undo method.
Example
This example redoes the last two actions in the Sales.doc redo list.
Documents("Sales.doc").Redo 2
This example redoes the last action in the active document. If the action is successfully redone, a message is displayed in the status bar.
On Error Resume Next
If ActiveDocument.Redo = False Then StatusBar = "Redo was unsuccessful"