Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
| 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
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.