Application.UndoRecord property (Word)

Returns an UndoRecord object that provides a custom entry point into the undo stack. Read-only.

Syntax

expression. UndoRecord

expression A variable that represents an Application object.

Remarks

Use the UndoRecord object to create and modify custom undo records in the Word undo stack.

Example

The following code example instantiates an UndoRecord object.

Dim objUndo As UndoRecord 
Set objUndo = Application.UndoRecord

See also

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