Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.OutlineHideSubTasks Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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.

Sub OutlineHideAllSubtasks() 
 ActiveProject.Tasks(1).OutlineHideSubtasks 
End Sub
© 2018 Microsoft