Application.UndoRecord Property (Word)

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

Version Added: Word 2010

expression .UndoRecord

expression A variable that represents an Application object.

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

The following code example instantiates an UndoRecord object.

Dim objUndo As UndoRecord 
Set objUndo = Application.UndoRecord