Find related Assignment in TimeScalaData

J

John Smith

Hi,

in Resource Usage view it's possible to see the assignments on the left side
and to see the TimeScaledValues on the right side of the window.

I can easily access the TimeScaledValues for each resources
programmatically, but how can I find the related assignments.

Any advice appreciated.

Thank

John
 
J

John

John,
Try the following code snippet:
For Each t in ActiveProject.Tasks
If Not t is Nothing Then
For Each A In t.Assignments
Set ResAss = TimeScaleData(StartDate, EndDate, Type, _
TimeScaleUnit, Count)
Next A
End if
Next t

Hope this helps.
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top