Assignment Units...

P

Pablo Cedeño

Hi every body.

I'm trying to get the Assignment Units for a resource in each task.

But i cannot access that value, or i don' t know how to access it.
I need to know the hours per day that the resource should work.

For example:
Take 8 hours like the total hours per day that a resource should work if it
has 100% of Assignment Units.

If a resource has only a 50% of Assigment Units, the hours per day that it
has to complete are 4 hours.

If somebody knows how to do it, i really appreciate any help.
Cheers!
 
J

Jack D.

Pablo said:
Hi every body.

I'm trying to get the Assignment Units for a resource in each task.

But i cannot access that value, or i don' t know how to access it.
I need to know the hours per day that the resource should work.

For example:
Take 8 hours like the total hours per day that a resource should work if
it has 100% of Assignment Units.

If a resource has only a 50% of Assigment Units, the hours per day that it
has to complete are 4 hours.

If somebody knows how to do it, i really appreciate any help.
Cheers!

Have you tried assignment.units?
Here is how I would show the assigment units for the second task in a
project:

Sub showUnits()
Dim t As Task
Dim a As Assignment
Set t = ActiveProject.Tasks(2)
For Each a In t.Assignments
MsgBox a.Units
Next a
End Sub



--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP
email: J -at- eM Vee Pee S dot COM


+++++++++++++++++++
 

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