Application.UndoLevels property (Project)
Gets or sets the number of undo levels. The default is 20. Read/write Long.
Syntax
expression. UndoLevels
expression A variable that represents an Application object.
Remarks
The minimum value of UndoLevels is 1 (no multilevel undo) and the maximum is 99.
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.