Application.EnterpriseResourcesImportEx method (Project)

Imports local resources to the enterprise resource pool, or starts the Resource Import Wizard.

Syntax

expression. EnterpriseResourcesImportEx( _LocalRUIDs_, _UseImportColumn_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
LocalRUIDs Optional String A comma-delimited list of the unique ID numbers of the local resources.
UseImportColumn Optional Boolean True if the EnterpriseResourcesImportEx method uses the Import column.

Return value

Boolean

Remarks

Using the EnterpriseResourcesImportEx method with no arguments starts the Resource Import Wizard. Used that way, the method corresponds to the Import Resources to Enterprise command in the Add Resources drop-down menu of the Resource tab in the Ribbon.

Note

The EnterpriseResourcesImportEx method starts the file Open dialog box, with a list of enterprise projects. You can open an enterprise project that contains local resources or a local project. Alternately, you can use the ResourceMappingDialog method instead of EnterpriseResourcesImportEx to avoid the extra step of opening a project.

The EnterpriseResourcesImportEx method is available in Project Professional only and requires a connection with Project Server.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.