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