Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.24 KB

Project.application.removetimelinebar.md

File metadata and controls

36 lines (23 loc) · 1.24 KB
title keywords f1_keywords ms.assetid ms.date ms.service ms.localizationpriority
Application.RemoveTimelineBar method (Project)
vbapj.chm158
vbapj.chm158
8385d889-b81e-5422-a032-c7073fa7c65d
06/08/2017
project-server
medium

Application.RemoveTimelineBar method (Project)

Removes a Timeline bar from the view. Introduced in Office 2016.

Syntax

expression.RemoveTimelineBar ( BarPosition, TimelineViewName)

expression A variable that represents an Application object.

Parameters

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.

Return value

BOOLEAN

[!includeSupport and feedback]