Application.CalendarBarStyles method (Project)
Turns bar rounding on or off in the Calendar.
Syntax
expression. CalendarBarStyles
( _BarRounding_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
BarRounding | Optional | Boolean | True if bars in the Calendar round to midnight if their start times are less than or equal to the default start time, or if their end times are greater than or equal to the default end time. If BarRounding is omitted, the Bar Styles dialog box appears. |
Return value
Boolean
Remarks
The default start and default end times can be set with the OptionsCalendar method.
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.