Application.GotoTaskDates method (Project)

Scrolls the Gantt Chart, Resource Usage, or Task Usage view to display the starting date of the active task, or scrolls the Calendar to view the month containing the starting date of the active task.

Syntax

expression. GotoTaskDates

expression A variable that represents an Application object.

Return value

Boolean

Remarks

When you record a macro and click the Scroll to Task command in the Editing group of the Task tab on the Ribbon, or use the Ctrl+Shift+F5 shortcut, the macro records the GotoTaskDates method.

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.