Application.BarRounding method (Project)

Controls whether the start times of tasks are reflected by their corresponding task bars or the task bars are rounded to full days.

Syntax

expression. BarRounding( _On_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
On Optional Boolean True if bars round to the nearest day. The default value is True.

Return value

Boolean

Remarks

The BarRounding method affects only how tasks display on the Gantt Chart or Calendar. The duration of the tasks is not affected.

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.