Table of contents
Collapse the table of content
Expand the table of content

Application.TimelineTextOnBar Method (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Changes the format of text to display as a callout or within the Timeline bar, for one or more selected tasks.


expression. TimelineTextOnBar( ** TextOnBar** )

expression An expression that returns an Application object.


NameRequired/OptionalData TypeDescription
TextOnBarOptionalBooleanFalse if the selected tasks should be displayed as callouts; otherwise, True. The default value is True, which makes the task text show within the Timeline bar.

Return Value



The TimelineTextOnBar method is equivalent to the Display as Bar and Display as Callout commands in the Current Selection group on the Format tab on the ribbon.


The following statement changes selected tasks on the Timeline bar to display as callouts.

TimelineTextOnBar TextOnBar:=False
© 2018 Microsoft