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

Application.GanttBarStyleDelete Method (Project)

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

Deletes a Gantt bar style from the active Gantt Chart.

Syntax

expression. GanttBarStyleDelete( ** Item** )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
ItemRequiredStringString. The name or row number of the Gantt bar to delete from the Bar Styles dialog box.

Return Value

Boolean

Remarks

To manually show the Bar Styles dialog box, click the Format tab under the Gantt Chart Tools tab. In the Bar Styles group, click Bar Styles in the Format drop-down list. The Bar Styles dialog box can contain up to 200 style entries.

Example

The following command deletes style number 41 in the Bar Styles dialog box.

GanttBarStyleDelete Item:="41"
© 2018 Microsoft