Application.Undo Method (Project)

Executes an undo action on items in the Undo list.

Syntax

expression .Undo(HowManyUndos)

expression A variable that represents an Application object.

Parameters

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

Boolean

Remarks

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.