共用方式為


AppointmentItem.ReminderSet 屬性 (Outlook)

會傳回或設定 Boolean 值,如果已為此項目設定提醒便為 True。 讀取/寫入。

語法

expressionReminderSet

表達 代表 AppointmentItem 物件的 變數。

範例

這個範例會建立約會項目,並在儲存之前設定 ReminderSet 屬性。

Sub AddAppointment() 
 
 Dim apti As Outlook.AppointmentItem 
 
 
 
 Set apti = Application.CreateItem(olAppointmentItem) 
 
 apti.Subject = "Car Servicing" 
 
 apti.Start = DateAdd("n", 16, Now) 
 
 apti.End = DateAdd("n", 60, apti.Start) 
 
 apti.ReminderSet = True 
 
 apti.ReminderMinutesBeforeStart = 60 
 
 apti.Save 
 
End Sub

另請參閱

AppointmentItem 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應