Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.47 KB

Project.Application.OutlineShowTasks.md

File metadata and controls

52 lines (32 loc) · 1.47 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.OutlineShowTasks method (Project)
vbapj.chm27
vbapj.chm27
project-server
Project.Application.OutlineShowTasks
614eb1fc-93eb-3df2-ae52-4fad98c80b3b
06/08/2017
medium

Application.OutlineShowTasks method (Project)

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.

Sub CollapseOutline() 
 Application.OutlineShowTasks pjTaskOutlineShowLevel1, True 
End Sub

[!includeSupport and feedback]