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

Application.GanttBarSize Method (Project)

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

Sets the height, in points, of the Gantt bars in the active Gantt Chart.

Syntax

expression. GanttBarSize( ** Size** )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
SizeRequiredLongA constant specifying the height, in points, of the Gantt bars in the active Gantt Chart. Can be one of the following PjBarSize constants.

Return Value

Boolean

Example

The following example set the bar size to pjBarSize24.

Sub GanttBar_Size() 

 'Activate Gantt Chart view 
 ViewApply Name:="&;Gantt Chart" 
 GanttBarSize Size:= 
pjBarSize24
End Sub
© 2017 Microsoft