S
Sam
I have written the following code to change the resource booking type from
'Proposed' to 'Committed' for each resource in a project:
For Each res In ActiveProject.Resources
res.BookingType = pjBookingTypeCommitted
Next res
This works perfectly if only one project is open at a time but errors out if
I have more than one project open. Any ideas on why it errors and how to fix
it?
Thanks,
Sam
'Proposed' to 'Committed' for each resource in a project:
For Each res In ActiveProject.Resources
res.BookingType = pjBookingTypeCommitted
Next res
This works perfectly if only one project is open at a time but errors out if
I have more than one project open. Any ideas on why it errors and how to fix
it?
Thanks,
Sam