- Community Pick
- Experts Exchange Approved
Background. Outlook, at least through 2007, displays an onscreen reminder if one is set for the given appointment/meeting. Each user can customize the default reminder time which means that reminders can be disabled entirely if a user chooses to do so. Meeting participants may or may not have a smartphone that syncs with their Outlook calendar. Those that do may see a reminder on the phone.
Solution. Each time Outlook displays a reminder it triggers an event that we can use to run a VBA (Visual Basic for Applications) procedure. The code in the procedure can then create and send an email to the meeting participants reminding them of the meeting.
Requirements.
a. Full version of Outlook. This solution only works with the full version of Outlook. It is not compatible with Outlook Web Access (OWA) or Outlook Express.
b. Outlook 2007. The code will work in earlier versions of Outlook too, but they include security constraints that prevent a script from sending a message without the use of third-party tools. If anyone who reads this article is interested in implementing this on a computer using Outlook 2003 or earlier, then they can contact me for details on what is needed.
c. You must be the meeting organizer for this solution to work. This constraint prevents creating a storm of reminder messages if the solution is implemented on multiple computers. Otherwise each computer that runs this solution would send a reminder message for any appointment configured for reminders. More about this below.
d. Outlook must be running for this solution to work.
Instructions.
- 1
Add the Code to Outlook
a. Start Outlook
b. Click Tools > Macro > Visual Basic Editor.
c. If not already expanded, expand Microsoft Office Outlook Objects and click on ThisOutlookSession.
d. Copy the code below and paste it into the right-hand pane of Outlook's VB Editor window.
e. Edit the code as needed. I included comment lines wherever something needs to or can change.
f. Click the diskette icon on the toolbar to save the changes.
g. Close the VB Editor
h. Click Tools > Trust Center.
i. Click Macro Security.
j. Set "Macro Security" to Warnings for all macros.
k. Click OK.
l. Close Outlook.
m. Start Outlook. Outlook will display a dialog-box warning that ThisOutlookSession contains macros and asking if you want to allow them to run. Click Yes.
- 2
Using Enhanced Meeting Reminders
a. Create a meeting in Outlook just as you normally would.
b. Add a category of "Reminders" (or whatever category name you set on line 13 of the code) to the meeting.
How This Works. Here's how the solution works.
a. A reminder is triggered by an Outlook item (e.g. appointment, task, etc.) raising the ReminderFire event.
b. The event is trapped, running the code in the procedure olkReminders_ReminderFire and passing it the item that triggered the reminder.
c. The code tests to see if the event was triggered by an appointment. If it wasn’t, then processing is halted. This constraint prevents a message from being sent for any item that triggers a reminder.
d. The code tests to see if the appointment is a meeting (i.e. involves others). If it isn’t, then processing is halted. This constraint prevents reminder messages being sent for appointments (i.e. items that only involve you).
e. The code tests to see if the meeting’s categories includes the defined keyword. If it doesn’t, then processing is halted. This allows you to control which meetings reminders are sent for. Without this constraint a reminder would be sent for every meeting.
f. The code test to see if you are the meeting organizer. If you aren’t, then processing is halted. This constraint prevents the message storm I described in item "c" of Requirements.
g. The code creates and sends an email addressed to all meeting attendees, or optionally to just the required attendees, reminding them of the meeting.
Notes. One note of caution. The solution will send a message each time a configured item’s reminder fires. When a reminder fires if you select the option to sleep the reminder for a set number of minutes, then a second message will be sent when the reminder fires again. Be careful not to overwhelm attendees with too many reminder messages.
Links to Other BlueDevilFan Articles
1. Creating Linked Notes in Outlook 2007
2. Extending Outlook Rules via Scripting
3. Importing and Exporting Outlook 2007 Categories
4. Outlook 2007 Corporate Categories System
5. Automatically Printing/Saving Emails/Attachments in Outlook
6. Avoiding Blank Subject Lines in Outlook
7. Never Again Forget to Add that Attachment to your Outlook Email
by: younghv on 2010-04-27 at 07:33:12ID: 13877
Another in your great list of 'usable' Articles.
You should imbed hyper-links between all of these 'how-to' Articles you're doing.
"Yes" vote above.