Share via


Application.CalendarBarStyles Method

Project Developer Reference

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.

See Also