次の方法で共有


Reminders.ReminderRemove イベント (Outlook)

Reminder オブジェクトがコレクションから削除されたときに発生します。

構文

ReminderRemove

Reminders オブジェクトを表す変数。

注釈

アラームは、次の方法のいずれかが アラーム のコレクションから削除できます。

  • Reminders コレクションの Remove メソッド。

  • Reminder オブジェクトの Dismiss メソッド。

  • When the user clicks the Dismiss button.

  • ユーザーが関連付けられたアイテムから会議のアラームをオフにしたとき。

  • ユーザーがアラームを含むアイテムを削除したとき。

次の Microsoft Visual Basic for Applications (VBA) の例は、 Reminder オブジェクトがコレクションから削除されるとユーザーにメッセージを表示します。

Public WithEvents objReminders As Outlook.Reminders 
 
 
 
Sub Initialize_handler() 
 
 Set objReminders = Application.Reminders 
 
End Sub 
 
 
 
Private Sub objReminders_ReminderRemove() 
 
'Occurs when a reminder is removed from the collection 
 
'or the user clicks Dismiss 
 
 
 
 MsgBox "A reminder has been removed from the collection." 
 
 
 
End Sub

関連項目

アラーム オブジェクト

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。