Critical Property
True if the task is on the critical path. Read-only Boolean.
Example
The following example sets the highest priority for critical tasks in the active project.
Sub MakeCriticalTasksHighestPriority()
Dim T As Task ' Task object used in For Each loop
For Each T In ActiveProject.Tasks
If T.Critical Then T.Priority = pjPriorityHighest
Next T
End Sub
Applies to | Task Object, Tasks Collection Object
See Also | Delay Property | FreeSlack Property | TotalSlack Property