Skip to content

Latest commit

 

History

History
60 lines (32 loc) · 1.27 KB

Project.ActualStartDrivers.TotalDetectedCount.md

File metadata and controls

60 lines (32 loc) · 1.27 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
ActualStartDrivers.TotalDetectedCount property (Project)
project-server
Project.ActualStartDrivers.TotalDetectedCount
188d79e3-3a1b-a0ed-e11b-3998334d6a17
06/08/2017
medium

ActualStartDrivers.TotalDetectedCount property (Project)

Gets the total number of actual start drivers that affect the start date of a task. Read-only Long.

Syntax

expression. TotalDetectedCount

expression A variable that represents an 'ActualStartDrivers' object.

Remarks

Actual start drivers are assignments that affect the start date of a task because they have actual work completed on the first day of the task.

Example

The following example displays TotalDetectedCount for each task in the active project. The example assumes there are no more than five assignments whose start dates are the same as the task's start date.

Sub b() 

 Dim T As Task 

 Dim count As Integer 

 For Each T In ActiveProject.Tasks 

 If T.RecalcFlags = 1 Then 

 MsgBox (T.StartDriver.ActualStartDrivers.TotalDetectedCount) 

 End If 

 Next T 

End Sub

See also

ActualStartDrivers Collection Object

[!includeSupport and feedback]