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.

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.