Expand Minimize

Document.Redo Method (Word)

Redoes the last action that was undone (reverses the Undo method). Returns True if the actions were redone successfully.

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

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"
Show:
© 2015 Microsoft