Project.Container Property (Project)

Gets the object that contains the embedded project. Read-only Object.

Syntax

expression. Container

expression A variable that represents a Project object.

Remarks

Use the Container property to access the properties or methods of the object that contains the project. If the container doesn't support automation or the project is not embedded, the Container property fails with run-time error 1004.