Application.CalendarWeekHeadingsEx 方法 (Project)
自訂行事曆中的標題。
語法
expression。 CalendarWeekHeadingsEx
( _MonthTitle_
, _WeekTitle_
, _DayTitle_
, _ShowPreview_
, _DaysPerWeek_
, _ShowTitleBeginningEndDates_
)
expression 代表 Application 物件的變數。
參數
名稱 | 必要/選用 | 資料類型 | 描述 |
---|---|---|---|
MonthTitle | 選用 | Long | 月份標題的格式。 可以為其中一個 PjMonthLabel 常數。 |
WeekTitle | 選用 | Long | 週標題的格式。 可以為其中一個 PjDateLabel 常數。 |
DayTitle | 選用 | Long | 日標題的格式。 可以為其中一個 PjDayLabel 常數。 |
ShowPreview | 選用 | Boolean | True 是表示 如果先前及下個月的預覽。 |
DaysPerWeek | 選用 | Integer | 每星期要顯示的天數。 可設定為 5 或 7。 |
ShowTitleBeginningEndDates | 選用 | Boolean | True 是表示 如果有顯示開始與結束日期標題。 |
傳回值
布林值
註解
使用 CalendarWeekHeadingsEx 方法但未指定任何引數選取 [ 週曆標題] 索引標籤顯示 [ 時幅] 對話方塊。
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。