Share via


Application.OutlineHideSubTasks Method

Project Developer Reference

Hides the subtasks of the selected task or tasks.

Syntax

expression.OutlineHideSubTasks

expression   A variable that represents an Application object.

Return Value
Boolean

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

Visual Basic for Applications
  Sub OutlineHideAllSubtasks()
    ActiveProject.Tasks(1).OutlineHideSubtasks
End Sub

See Also