Redo Method

Home Page (Objects)OverviewFAQReference

Applies to: Document object, TextDocument object

Reapplies previous editing actions that have been undone.

Syntax

object**.Redo**

Parameters

object

An expression that evaluates to a Document object or a TextDocument object.

Return Values

The Redo method returns one of the following values:

  • True   If the operation was successful.

  • False   If the operation was not successful.

Remarks

You can reverse a Redo operation by using the Undo method.

The Redo method has no effect on a document with the Generic type.

Example

The following example reapplies previously undone editing actions to a document:

ActiveDocument.Redo