Document.Redo method (Word)

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. A variable that represents a Document object.

Parameters

Name Required/Optional Data type Description
Times Optional Variant The number of actions to be redone.

Return value

Boolean

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"

See also

Document 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.