Application.CalendarWeekHeadings Method
Project Developer Reference |
Customizes headings in the Calendar.
Syntax
expression.CalendarWeekHeadings(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 | Variant |
Return Value
Boolean
Remarks
Using the CalendarWeekHeadings method without specifying any arguments displays the Timescale dialog box with the Week Headings tab selected.
See Also