Export (0) Print
Expand All
Expand Minimize

Application.GanttBarSize Method (Project)

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

expression .GanttBarSize(Size)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Size

Required

Long

A 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

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

Community Additions

ADD
Show:
© 2014 Microsoft