Application.ProjectMove method (Project)

Moves the project start date to a new date.

Syntax

expression. ProjectMove( _Date_, _MoveDeadline_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Date Optional Variant Specifies the new project start date.
MoveDeadline Optional Boolean True if deadlines are also moved; otherwise, False. The default is True.

Return value

Boolean

Remarks

The ProjectMove method is equivalent to clicking Move Project on the Project tab of the Ribbon.

Running the ProjectMove method with no arguments displays the Move Project dialog box.

Example

The following command moves the project start date to May 23, 2012. Deadlines are moved a corresponding number of days.

projectmove Date:="5/23/2012"

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.