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

Application.PanZoomPanTo Method (Project)

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

Pans the Gantt chart in the active view to the specified start date.


expression. PanZoomPanTo( ** Start** )

expression An expression that returns an Application object.


NameRequired/OptionalData TypeDescription
StartRequiredVariantSpecifies the start date for the left side of the Gantt chart.

Return Value



The PanZoomPanTo method has no effect on the Calendar view or Network Diagram (PERT chart) view.

To zoom the Gantt chart in or out, which changes the timescale, use the PanZoomZoomTo method. To change the timescale format and labels, use the TimescaleEdit method.


The following command moves the beginning of the visible Gantt chart to March 18, 2012.

PanZoomPanTo Start:="3/18/2012" 
© 2018 Microsoft