Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Calandaring (http://www.outlookbanter.com/outlook-calandaring/)
-   -   Rules for auto accepting meeting invitations (http://www.outlookbanter.com/outlook-calandaring/64871-rules-auto-accepting-meeting-invitations.html)

Steve Vincent January 10th 08 10:11 PM

Rules for auto accepting meeting invitations
 
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

Diane Poremsky [MVP] January 11th 08 04:08 PM

Rules for auto accepting meeting invitations
 
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

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/
Outlook 2007: http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:


Outlook Tips:
http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:



"Steve Vincent" wrote in message
...
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



Steve Vincent January 11th 08 06:56 PM

Rules for auto accepting meeting invitations
 
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

"Diane Poremsky [MVP]" wrote:

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

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/
Outlook 2007: http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:


Outlook Tips:
http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:



"Steve Vincent" wrote in message
...
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



Dan G February 28th 08 07:01 PM

Rules for auto accepting meeting invitations
 
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?

"Diane Poremsky [MVP]" wrote:

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

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/
Outlook 2007: http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:


Outlook Tips:
http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:



"Steve Vincent" wrote in message
...
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




All times are GMT +1. The time now is 11:24 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com