Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.56 KB

Project.Application.TimelineShowHide.md

File metadata and controls

55 lines (32 loc) · 1.56 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.TimelineShowHide method (Project)
vbapj.chm62
vbapj.chm62
project-server
Project.Application.TimelineShowHide
237052c0-445b-db78-9a74-10e8742a493d
06/08/2017
medium

Application.TimelineShowHide method (Project)

Shows or hides the specified feature in the Timeline view.

Syntax

expression. TimelineShowHide( _Item_, _Show_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Item Required PjTimelineShowHide Specifies the feature to show or hide. Can be one of the PjTimelineShowHide constants.
Show Optional Boolean False if the feature is hidden; otherwise, True. The default value is True, which shows the feature.

Return value

Boolean

Remarks

The TimelineShowHide method corresponds to several commands in the Show/Hide group on the Format tab on the ribbon. The Format tab displays the Show/Hide group when the Timeline view is selected. If the Timeline view is not selected, the TimelineShowHide method results in error 1100, "The method is not available in this situation."

Example

The following statement hides the time scale on the timeline.

Application.TimelineShowHide Item:=pjTimelineShowHideTimescale, Show:=False

[!includeSupport and feedback]