Outlook 2013 - Daily Reminder with Yes / No Message Box, Record Response

acombest

Board Regular
Joined
May 8, 2017
Messages
136
I have some experience with VBA but I am new to applying it to outlook.
I am curious how I would go about having a daily reminder that also pop up a message box with a yes, no response and then record that response on a excel document.

I am not entirely sure about what sub I should be using

Private Sub Application_Reminder(ByVal Item As Object)
End Sub

If anyone could give me an example or point me in the right direction about how to approach this I would be greatly appreciative.
Thanks,
-AJ
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Yes, I think Application_Reminder (in the ThisOutlookSession module within the Outlook VBA editor) is the correct routine to handle reminders. A basic routine would be something like this:

Code:
Private Sub Application_Reminder(ByVal Item As Object)

    Dim outAppointment As Outlook.AppointmentItem
    Dim response As VbMsgBoxResult   
    
    If TypeOf Item Is Outlook.AppointmentItem Then
        Set outAppointment = Item
        response = MsgBox("Click response for reminder " & outAppointment.Body, vbYesNo)
    End If
    
End Sub
As you can see, it checks whether the Item which triggered the Application_Reminder event handler is an AppointmentItem (I don't know which other type of Item might trigger it) and then displays a message box asking for a Yes or No response.

The routine would then write the response to an Excel workbook - there should be example code on this forum which opens, writes to and saves an Excel workbook from Outlook.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top