Subproject Object
Collapse the table of content
Expand the table of content

Subproject Object (Project)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a subproject. The Subproject object is a member of the Subprojects collection.

Using the Subproject Object

Use Subprojects(Index), where Index is the subproject index or project summary task name, to return a single Subproject object. The following example prevents changes made to the specified subproject in a master project from being automatically made to the source project.

Using the Subprojects Collection

Use the Subprojects property to return a Subprojects collection. The following example cautions the user if any of the subprojects in the active project are not on the hard disk.

© 2016 Microsoft