S
Sebastian Cordoba
[Project 2003] Hi everyone.
I've created a Macro to look at all Resources in the Active Project so that
I can create an array with as many positions as resources.
Part of the code is:
For Each res In ActiveProject.Resources
If Not (res Is Nothing) Then
counter = counter + 1
End If
Next res
After that, I have another loop to collect certain information about each
resource and keep it in the respective position of the array.
The problem is: when I have a master project this doesn't work. It just
skips this section of the code. So, how can I Identify all of the resources
in the Master Project and avoid duplication? (subprojects share some
resources [local resources]).
Thanks for your help.
I've created a Macro to look at all Resources in the Active Project so that
I can create an array with as many positions as resources.
Part of the code is:
For Each res In ActiveProject.Resources
If Not (res Is Nothing) Then
counter = counter + 1
End If
Next res
After that, I have another loop to collect certain information about each
resource and keep it in the respective position of the array.
The problem is: when I have a master project this doesn't work. It just
skips this section of the code. So, how can I Identify all of the resources
in the Master Project and avoid duplication? (subprojects share some
resources [local resources]).
Thanks for your help.