Document.Redo Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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: