Hi,
Activeproject.resources(thetask.assignments(1).res ourceid).name
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
"Pallavi Jain" <PallaviJain@discussions.microsoft.com> wrote in message
news

86E50CB-E101-4056-A2EE-8E2D00C00B2C@microsoft.com...
> Hi All,
>
> I have a resource assignment attached to a task.
> I need to retrieve the name of this resource(resource name) from the
> field.
> Is there a property in MSP, through which I can retreive the resource name
> of the task assignment ? I need the value of this field which is existing
> in
> MSP currently , then compare it with a new resource name value.
>
> Any pointers would be really helpful.
>
> Thanks in advance!
> Pallavi.
>
>