I've currently got a script that I tie to a rule so that I can auto-decline meeting requests with certain subjects:
Sub AutoDeclineMeetings(oRequest As MeetingItem)
If oRequest.MessageClass <> "IPM.Schedule.Meeting.Request" Then
Exit Sub
End If
Dim oAppt As AppointmentItem
Set oAppt = oRequest.GetAssociatedAppointment(True)
Dim oResponse
Set oResponse = oAppt.Respond(olMeetingDeclined, True)
oResponse.Send
End Sub
However, this sends a response back to the meeting organizer, which unnecessarily spams them, since they don't care if I attend or not.
How can I change this code so that the meeting does not show up in my calendar and so that no response is sent? I've tried simply calling both oAppt.Delete
and oRequest.Delete
, but this does not remove the item from my calendar.
Effectively, what I'm looking for is the equivalent of manually selecting Decline -> Do Not Send a Reponse on the meeting request.
Decline While Asking for Action Items Thanks for sending that meeting invite. Unfortunately, I'm not able to attend because of prior scheduling—but please keep me updated with action items I may be able to help with. You can feel free to send those notes over after the meeting, though I won't be available right away.
You can respond to the organizer by saying: “This is going to be an important discussion. I'm not able to attend, but I will find some time to share my thoughts so you can include them in the discussion.” “I'm sorry that I can't attend the meeting.
Instead of doing oResponse.Send
, try oResponse.Close(olDiscard)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With