Table of contents
TOC
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.

Syntax

expression. PanZoomPanTo( ** Start** )

expression An expression that returns an Application object.

Parameters

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

Return Value

Nothing

Remarks

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.

Example

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

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