Application.TimelineBarDateRange method (Project)
Modifies the start and finish dates for a Timeline bar. Introduced in Office 2016.
Syntax
expression.TimelineBarDateRange (CustomDates, StartDate, FinishDate, BarIndex)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
CustomDates | Optional | Boolean | Indicates if the timeline bar should use custom dates. If true, and the start and finish values are not specified, uses the current project's start and finish dates. If false, ignores any of the other values. |
StartValue | Optional | Variant | Start date. |
FinishValue | Optional | Variant | Finish date. |
TimelineViewName | Optional | String | Specifies the name of a timeline to use. The name can be the built-in timeline or an existing custom timeline such as "My Timeline". The default value is the name of the active timeline. |
Return value
BOOLEAN
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