Application.EditUndo method (Project)

Cancels the last user-interface action.


expression. EditUndo( _fUndo_ )

expression A variable that represents an Application object.


Name Required/Optional Data type Description
fUndo Optional Integer Specifies the number of actions to undo. If the total number of actions is less than fUndo, EditUndo undoes all actions.

Return value


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.