Tip 471: Autoaccept Meeting Request Using Rules

January 11, 2008
By

An interesting problem came up in the Microsoft public newsgroups a couple of times in recent weeks. Users wanted to know how they could autoaccept meeting requests from specific organizers. This is possible if you use an version of Outlook that supports Run a Script action in Rules Wizard.

Begin with a rule using the conditions “from people or distribution list” and “uses the specified form”, choosing the Meeting Request form under Application forms.

Since there is not an action to respond to meeting requests, you’ll need to use a script to accept it. Outlook MVP Michal Bednarz provided this script, which you need to add to ThisOutlookSession before creating the rule.

Sub AutoAcceptMeetings(oRequest As MeetingItem)

If oRequest.MessageClass <> “IPM.Schedule.Meeting.Request” Then Exit Sub

Dim oAppt As AppointmentItem
Set oAppt = oRequest.GetAssociatedAppointment(True)

Dim oResponse
Set oResponse = oAppt.Respond(olMeetingAccepted, True) oResponse.Display

End Sub

Open Outlook’s VBA editor (Alt+F11), expand Microsoft Office Outlook Objects and double click on ThisOutlookSession. Type or paste the code into the module, then create the rule.

This was tested in Outlook 2007 and should work in older versions which support the Run a Script action.

Related posts:

Tip 189: Rule to Request Read Receipts
Tip 42: Stop Processing More Rules
Tip 58: Using Meeting Requests
Tip 439: Send Multiple Meeting Requests
Tip 306: Run Rules Later
« « Tip 470: Outlook 2000 and Jewish Holidays
Tip 472: Update for iTunes Calendar Sync » »

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

*


Outlook Daily Tips by Email

*  Your Email Address:

Resources

Ask questions and share your knowledge in Outlook Forums.

More Outlook and Exchange articles available at Outlook and Exchange Solutions Center

Follow me on:

Follow @Outlooktips on Twitter   Join Outlooktips on Facebook