TaskDependency object (Project)
Represents the link type and link lag information between two tasks. The TaskDependency object is a member of the TaskDependencies collection. Using the TaskDependency Object Use TaskDependencies (index), where index is the dependency index, to return a single TaskDependency object. The following example adds 1.5 days of lag to the link between the specified task and the predecessor specified in its first task dependency. Using the TaskDependencies Collection Use the TaskDependencies property to return a TaskDependencies collection. The following example examines each predecessor for the specified task and displays a message for each that has a priority of "High" or better. Use the Add method to add a TaskDependency object to the TaskDependencies collection. The following example links "Preliminary Research & Approval" as a predecessor to "Draft Initial Business Case" in a finish-to-start relationship.
Methods
Name |
---|
Delete |
Properties
Name |
---|
Application |
From |
Index |
Lag |
LagType |
Parent |
Path |
To |
Type |
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.