Application.ChangeStatusDate method (Project)

Changes the project status date.

Syntax

expression. ChangeStatusDate( _Date_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Date Optional Variant New date for the project status date.

Return value

Boolean

Remarks

The project status date enables Project to show progress lines in tasks on the Gantt chart. The status date is also used in earned value calculations. Using ChangeStatusDate with no parameter shows the Status Date dialog box. If the user cancels the dialog box, ChangeStatusDate returns False.

Example

The following example changes the project status date to April 7, 2012.

ChangeStatusDate("4/7/12")

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.