Share via


Reminder.NextReminderDate プロパティ (Outlook)

指定したアラームの次の時間を示す 日付 を返します。 読み取り専用です。

構文

NextReminderDate

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

注釈

NextReminderDate プロパティの値は、オブジェクトの Snooze メソッドが実行されるたびに、またはユーザーが、[ 再通知] ボタンをクリックしたときに変更します。

コレクションで発生するタイミングは次の日付のすべてのアラームのレポートを作成する例を次にします。 サブルーチンでは、 キャプションNextReminderDate プロパティを文字列に連結し、文字列をダイアログ ボックスに表示します。

Sub DisplayNextDateReport() 
 
 'Displays the next time all reminders will be displayed. 
 
 Dim objRems As Outlook.Reminders 
 
 Dim objRem As Outlook.Reminder 
 
 Dim strTitle As String 
 
 Dim strReport As String 
 
 
 
 Set objRems = Application.Reminders 
 
 strTitle = "Current Reminder Schedule:" 
 
 strReport = "" 
 
 'Check if any reminders exist. 
 
 If objRems.Count = 0 Then 
 
 MsgBox "There are no current reminders." 
 
 Else 
 
 For Each objRem In objRems 
 
 'Add information to string. 
 
 strReport = strReport & objRem.Caption & vbTab & _ 
 
 objRem.NextReminderDate & vbCr 
 
 Next objRem 
 
 'Display report in dialog box 
 
 MsgBox strTitle & vbCr & vbCr & strReport 
 
 End If 
 
End Sub

関連項目

アラーム オブジェクト

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

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