Application.Undo method (Project)

Executes an undo action on items in the Undo list.


expression.Undo( _HowManyUndos_ )

expression A variable that represents an Application object.


Name Required/Optional Data type Description
HowManyUndos Optional Long Specifies the number of items from the list to undo. The default is 1.

Return value



Many actions you perform in Project, such as adding a task, add items to the Undo list. To redo one or more actions after using the Undo method, you can use the Redo method or click Redo in the Quick Access Toolbar.

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.