Application.TimelineGotoSelectedTask method (Project)
When a task is selected in the Timeline view, TimelineGotoSelectedTask selects the same task in the main view.
Syntax
expression. TimelineGotoSelectedTask
expression An expression that returns an Application object.
Return value
Boolean
Remarks
The TimelineGotoSelectedTask method corresponds to the Go to Selected Task command on the option menu in the Timeline view. After you run the TimelineGotoSelectedTask method, the Timeline view remains the active view.
If a single task is not selected in the Timeline view, or if the Timeline view is not active, the TimelineGotoSelectedTask method results in run-time error 1100, "The method is not available in this situation."
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.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om