OutlineHideSubtasks Method

Hides the subtasks of the selected task or tasks.

Syntax

expression**.OutlineHideSubtasks**

*expression   *     Optional. An expression that returns an object in the Applies To list.

Example

The following example collapses the entire outline of the first task.

Sub OutlineHideAllSubtasks()
    ActiveProject.Tasks(1).OutlineHideSubtasks
End Sub

Applies to | Application Object | Task Object, Tasks Collection Object

See Also | OutlineChildren Property | OutlineIndent Method | OutlineLevel Property | OutlineNumber Property | OutlineOutdent Method | OutlineParent Property | OutlineShowAllTasks Method | OutlineShowSubtasks Method | OutlineSymbolsToggle Method | Summary Property