Task.Resources Property (Project)
Gets a Resources collection that contains the resources assigned to the task. Read-only Resources.
Syntax
expression .Resources
expression A variable that represents a Task object.
Example
The following example displays the name of each resource assigned to the selected task.
Sub ResourceNames()
Dim R As Resource
For Each R In ActiveCell.Task.Resources
MsgBox R.Name
Next R
End Sub