G
Guest
Hello,
Lets say:
task1 has a FS relationship +13% with task2. Using the following code:
Private Sub DependencyTesting()
Dim TD As TaskDependency
Dim T As Task
For Each T In ActiveProject.Tasks
For Each TD In T.TaskDependencies
Debug.Print TD.Lag
Next TD
Next T
End Sub
will print out:
1 instead of 1.3. Any way I can get the 13% instead of 10%?
In addition, i am not sure how to determine if the lag type is percent or
duration based. I could think that there is a 1 minute lag instead of 10
percent. Is there another way to get the lag type and quantity?
Thanks,
Dan
Lets say:
task1 has a FS relationship +13% with task2. Using the following code:
Private Sub DependencyTesting()
Dim TD As TaskDependency
Dim T As Task
For Each T In ActiveProject.Tasks
For Each TD In T.TaskDependencies
Debug.Print TD.Lag
Next TD
Next T
End Sub
will print out:
1 instead of 1.3. Any way I can get the 13% instead of 10%?
In addition, i am not sure how to determine if the lag type is percent or
duration based. I could think that there is a 1 minute lag instead of 10
percent. Is there another way to get the lag type and quantity?
Thanks,
Dan