UndoRecord object (Word)
Provides an entry point into the undo stack.
Use the UndoRecord object to create and modify custom undo records in the Word undo stack.
The following code example instantiates an UndoRecord object.
Dim objUndo As UndoRecord
Set objUndo = Application.UndoRecord
Working With the UndoRecord Object Word Object Model Reference
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.