J
Jerry Sullivan
Typically, to cycle through each resource in the active project, code like
this works fine:
Dim resX as Resource
For Each resX In ActiveProject.Resources
<insert mycode here..>
Next resX
However, I just noticed that when more than one project is open, this code
will go through all resources in all open projects. This is consistent with
the Resource Sheet view.
How can I access just the resources in my active project? The resources
don't necessarily have assignments yet, so I can't work through the Tasks or
Assignments. The Build Team from Enterprise dialog seems to be able to filter
out just the actiive project.
We are using MS Project 2007 with Enterprise Project Server.
Thanks,
--Jerry
this works fine:
Dim resX as Resource
For Each resX In ActiveProject.Resources
<insert mycode here..>
Next resX
However, I just noticed that when more than one project is open, this code
will go through all resources in all open projects. This is consistent with
the Resource Sheet view.
How can I access just the resources in my active project? The resources
don't necessarily have assignments yet, so I can't work through the Tasks or
Assignments. The Build Team from Enterprise dialog seems to be able to filter
out just the actiive project.
We are using MS Project 2007 with Enterprise Project Server.
Thanks,
--Jerry