title | keywords | f1_keywords | ms.assetid | ms.date | ms.service | ms.localizationpriority | |
---|---|---|---|---|---|---|---|
Application.RemoveTimelineBar method (Project) |
vbapj.chm158 |
|
8385d889-b81e-5422-a032-c7073fa7c65d |
06/08/2017 |
project-server |
medium |
Removes a Timeline bar from the view. Introduced in Office 2016.
expression.RemoveTimelineBar ( BarPosition, TimelineViewName)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
BarPosition | Optional | Integer | Indicates the timeline bar to remove. If a number isn't specified, the selected bar is removed if applicable. The top bar is 0 and the next is 1, and so on. If a number is not specified, the selected bar is removed if one is selected. The last timeline bar cannot be removed. |
TimelineViewName | Optional | String | Specifies the name of a timeline. 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. |
BOOLEAN
[!includeSupport and feedback]