Resource Substitution VBA Help

T

Tim Dutton

I am currently writing some VBA that instatiates the
EnterpriseResSubstitutionWizard method to resource a project from the RBS.

http://msdn.microsoft.com/library/d...nterpriseResSubstitutionWizard_HV43008535.asp

Two of the parameters to do this are:

1) poolOption which i am setting to pjResSubstitutionResInRBS value

2) RBSorResourceList which is supposed to be a string but there is no
documentation on what this string is

I have used a macro to query the current tasks resource pool string and get
"Exeternal.Client.Pool", but when this is added to the
EnterpriseResSubstitutionWizard call it fails

i.e.

Sub TestResourceFromRBS()
Call Application.EnterpriseResSubstitutionWizard("Test
Resources.Published", pjResSubstitutionResInRBS, "External.Client.Pool",
Null, True, True, Null, True, Null)
End Sub

Anyone tried this before or had any success, any help it greatly appreciated

Thanks

T
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top