Rules for auto accepting meeting invitations

S

Steve Vincent

In Outlook 2003, can I set up rules to automatically accept meeting requests
from specific individuals? And another question: can I set up a rule to
automatically remove appointments from a meeting cancellation?

Thanks in advance,

Steve
 
D

Diane Poremsky [MVP]

yes, create a rule looking for meeting requests and use run a script as the
action.

place this code in ThisOutlookSession and use it for the script.

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
 
S

Steve Vincent

Diane,

Thank you, that works great! (I had to add an End If before the End Sub,
though ;-) I notice that it enters a Tentative appointment on the calendar
and doesn't generate a reply, and with cancellations, it leaves the appt on
the calendar, although it's marked "Cancelled". But these are probably good
things -- too much automation would leave me flying blind and not noticing
the changes to my calendar.

Thanks again! Your code was right on the money.
Steve
 
D

Dan G

Thanks for this code. I'm actually forwarding requests from my client email
to my company email so I have them on both calendars. Because of that, I'm
not interested in sending a response to the Meeting Organizer (and because it
prompts for the security warning). Is there anyway to just add the meeting
to my calendar without trying to send a repsonse?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top