D
David Chazin
Hi,
Am trying to create a weekly report, listing the Tasks on which a particular
Resource worked, with the hours worked each day in the week on each task,
that looks something like this:
Resource: John Smith
Task ID Task Name Sun Mon Tue Wed Thu Fri Sat
21 Coding 0 1 6 0 0 0 0
24 Testing 0 8 3 1 0 0
0
I'm using Project 2003, and can't seem to relate the TimeScaleValues with
their corresponding
Resource and Task at the same time.
The following code gives the TimeScaleValues for a particular RESOURCE for
the desired week:
Set tsvs = r.TimeScaleData(#6/15/2008#, #6/21/2008#, _
pjResourceTimescaledActualWork, pjTimescaleDays, 1)
For Each tsv in tsvs
[in here I need to be able to do something like:
Debug.Print tsv.Task.ID
except there does not seem to be a property of tsv that represents
the Task associated with the TimeScaleValue]
Next tsv
Similarly, the following code gives the TimeScaleValues for a particular
TASK for the desired week:
Set tsvs = t.TimeScaleData(#6/15/2008#, #6/21/2008#, _
pjTaskTimescaledActualWork, pjTimescaleDays, 1)
For Each tsv in tsvs
[in here I need to be able to do something like:
Debug.Print tsv.Resource.Name
except there does not seem to be a property of tsv that represents
the Resource associated with the TimeScaleValue]
Next tsv
Any ideas?
I posted this message in the microsoft.public.project.vba forum, and then
realized that this is the correct forum. Sorry for the double post.
Thanks in advance,
--David Chazin
Am trying to create a weekly report, listing the Tasks on which a particular
Resource worked, with the hours worked each day in the week on each task,
that looks something like this:
Resource: John Smith
Task ID Task Name Sun Mon Tue Wed Thu Fri Sat
21 Coding 0 1 6 0 0 0 0
24 Testing 0 8 3 1 0 0
0
I'm using Project 2003, and can't seem to relate the TimeScaleValues with
their corresponding
Resource and Task at the same time.
The following code gives the TimeScaleValues for a particular RESOURCE for
the desired week:
Set tsvs = r.TimeScaleData(#6/15/2008#, #6/21/2008#, _
pjResourceTimescaledActualWork, pjTimescaleDays, 1)
For Each tsv in tsvs
[in here I need to be able to do something like:
Debug.Print tsv.Task.ID
except there does not seem to be a property of tsv that represents
the Task associated with the TimeScaleValue]
Next tsv
Similarly, the following code gives the TimeScaleValues for a particular
TASK for the desired week:
Set tsvs = t.TimeScaleData(#6/15/2008#, #6/21/2008#, _
pjTaskTimescaledActualWork, pjTimescaleDays, 1)
For Each tsv in tsvs
[in here I need to be able to do something like:
Debug.Print tsv.Resource.Name
except there does not seem to be a property of tsv that represents
the Resource associated with the TimeScaleValue]
Next tsv
Any ideas?
I posted this message in the microsoft.public.project.vba forum, and then
realized that this is the correct forum. Sorry for the double post.
Thanks in advance,
--David Chazin