Application.GanttBarTextDateFormat method (Project)

Sets the date format for text around bars on the Gantt Chart.

Syntax

expression. GanttBarTextDateFormat( _DateFormat_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
DateFormat Required Long A constant specifying the format of dates in the Gantt bar text. Can be one of the following PjDateFormat constants.

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.