Share via


Subproject Object (Project)

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.