Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.29 KB

Project.Application.GanttBarStyleBaseline.md

File metadata and controls

55 lines (32 loc) · 1.29 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.GanttBarStyleBaseline method (Project)
vbapj.chm83
vbapj.chm83
project-server
Project.Application.GanttBarStyleBaseline
c9cb0ebb-998c-c9ea-9d3f-5cb06813c364
06/08/2017
medium

Application.GanttBarStyleBaseline method (Project)

Shows or hides the specified baseline on Gantt bars of the active view.

Syntax

expression. GanttBarStyleBaseline( _Baseline_, _Show_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Baseline Required Integer Specifies the baseline number. Valid values are 0 through 10.
Show Required Boolean If True, show the baseline. If False, hide the baseline.

Return value

Boolean

Remarks

On the Ribbon, the GanttBarStyleBaseline method corresponds to the Baseline drop-down list in the Bar Styles group on the Format tab for Gantt Chart Tools.

Example

The following command shows the baseline 1 data for tasks on the active Gantt chart view.

GanttBarStyleBaseline(1, True)

[!includeSupport and feedback]