title | ms.prod | api_name | ms.assetid | ms.date | |
---|---|---|---|---|---|
Task.Subproject Property (Project) |
project-server |
|
da054f33-3200-e2bd-4db4-179a30958b98 |
06/08/2017 |
Gets or sets the subproject name for the task. Read/write String.
expression. Subproject
expression A variable that represents a Task object.
The following line of code inserts the specified project as a subproject for the task. If the project is not found, it displays a file dialog box with the title Cannot find inserted project - C:\Project\MySubProject.mpp.
activecell.Task.SubProject = "C:\Project\MySubProject.mpp"