EnterpriseResSubstitutionWizard Method
Runs the Resource Substitution Wizard.
Syntax
expression**.EnterpriseResSubstitutionWizard(ProjectList, PoolOption, RBSorResourceList, FreezeHorizonDate, UpdateProjects, SaveReport, Path)**
*expression * Required. An expression that returns an Application object.
ProjectList Optional String. A comma-separated list of portfolio projects in the database.
PoolOption Optional Long. Specifies the resource pool option. Can be one of the following PjResSubstitutionPoolOption constants: pjResSubstitutionResInList, pjResSubstitutionResInProject, or pjResSubstitutionResInRBS. The default value is pjResSubstitutionResInProject.
RBSorResourceList Optional String. The name of the RBS (resource breakdown structure) level to use if pjResSubstitutionResInRBS was specified in the *PoolOption * argument. If pjResSubstitutionResInList was specified in the PoolOption argument, the RBSorResourceList argument specifies a comma-separated list of resource names to use.
FreezeHorizonDate Optional String. The date of the resource freeze horizon.
UpdateProjects Optional Boolean. True if the Resource Substitution Wizard updates projects with the new resource information. The default value is True.
SaveReport Optional Boolean. True if the Resource Substitution Wizard saves a report. The default value is False.
Path Optional String. The directory to use when creating the report. The default value is the current user's My Documents folder.
Remarks
No events are fired when using the EnterpriseResSubstitutionWizard method.
The EnterpriseResSubstitutionWizard method does not include a parameter for specifying that resources from the enterprise resource pool should be used.
This method is available only in Microsoft Office Project Professional 2003.
Applies to | Application Object
See Also | ResourceAssignment Method