Application.CalendarWeekHeadingsEx method (Project)

Customizes headings in the Calendar.

Syntax

expression. CalendarWeekHeadingsEx( _MonthTitle_, _WeekTitle_, _DayTitle_, _ShowPreview_, _DaysPerWeek_, _ShowTitleBeginningEndDates_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
MonthTitle Optional Long The format of the month title. Can be one of the PjMonthLabel constants.
WeekTitle Optional Long The format of week titles. Can be one of the PjDateLabel constants.
DayTitle Optional Long The format of day titles. Can be one of the PjDayLabel constants.
ShowPreview Optional Boolean True if the next and previous months are previewed.
DaysPerWeek Optional Integer The number of days per week to display. Can be set to 5 or 7.
ShowTitleBeginningEndDates Optional Boolean True if the beginning and end date titles are shown.

Return value

Boolean

Remarks

Using the CalendarWeekHeadingsEx method without specifying any arguments displays the Timescale dialog box with the Week Headings tab selected.

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.