Application.TaskRespectLinks method (Project)

Moves one or more selected tasks so that their dates are determined by their task dependencies.


expression. TaskRespectLinks

expression An expression that returns an Application object.

Return value



The TaskRespectLinks method applies to both manually scheduled and automatically scheduled tasks. Changes in the start or finish dates of a task depend on the types of links for predecessor and successor tasks.

The TaskRespectLinks method corresponds to the Respect Links command on the Task tab on the Ribbon.


Suppose a manually scheduled task has a predecessor task with a finish-to-start (FS) link, the finish date of the predecessor task is 7/15/2012, and the start date of the manually scheduled task is 7/20/2012 with no lag time. Running the TaskRespectLinks method moves the start date back to 7/15/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.