Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I silently decline a meeting?

Tags:

vba

outlook

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.

like image 812
Sterno Avatar asked Aug 02 '13 20:08

Sterno


People also ask

How do you decline a meeting politely via email?

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.

How do you say you can't attend a meeting?

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.


1 Answers

Instead of doing oResponse.Send, try oResponse.Close(olDiscard)

like image 54
mclark1129 Avatar answered Sep 22 '22 23:09

mclark1129