CalendarBarStyles Method

Turns bar rounding on or off in the Calendar.

Syntax

expression**.CalendarBarStyles(BarRounding)**

*expression   *     Optional. An expression that returns an Application object.

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.

Remarks

The default start and default end times can be set with the OptionsCalendar method.

Applies to | Application Object

See Also | BarBoxStyles Method | BarRounding Method | CalendarBarStylesEdit Method | CalendarBestFitWeekHeight Method | CalendarDateBoxes Method | CalendarDateShading Method | CalendarDateShadingEdit Method | CalendarTaskList Method | CalendarTimescale Method | CalendarWeekHeadings Method