Application.OutlineShowTasks Method
Project Developer Reference |
Expands an outline to show all tasks up to the specified level and collapses any levels below.
Syntax
expression.OutlineShowTasks(OutlineNumber, ExpandInsertedProjects)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
OutlineNumber | Optional | Long | The outline level to display. Higher outline levels are expanded to show this level. The level specified with OutlineNumber and lower (if any) are collapsed. Can be one of the PjTaskOutlineShowLevel constants. |
ExpandInsertedProjects | Optional | Boolean | True if tasks from subprojects are affected by the value specified with OutlineNumber. The default value is False. |
Return Value
Boolean
Example
This example has the same effect as collapsing the entire outline, including any tasks from subprojects.
Visual Basic for Applications |
---|
|
See Also