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

Application.GanttBarStyleBaseline Method (Project)

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

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

NameRequired/OptionalData TypeDescription
BaselineRequiredIntegerSpecifies the baseline number. Valid values are 0 through 10.
ShowRequiredBooleanIf 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)
© 2018 Microsoft