Below is some sample code to automatically change the notification time of a meeting - this will overwrite what the sender has set.

To use it.

  1. Open Outlook.
  2. Press Alt-F11 to open Microsoft Visual Basic for Application.
  3. Selected the project on the left and side, and then select “ThisOutlookSession”
  4. Paste the code below.
  5. Next, create a new mail rule:
  6. Select on Apply Rule on Messages I Receive.
  7. Next, Select “Which is a meeting request of Update.
  8. Next, Select “Run a Script”, and select “AutoRejectMeetings”.

Sub ChangeNotificationTime(oRequest As MeetingItem)
                                                ' Get the appointment details
	Dim oAppt As AppointmentItem
	Set oAppt = oRequest.GetAssociatedAppointment(True)
												' If it's an all day event
	If oAppt.AllDayEvent Then
		oAppt.ReminderSet = False               ' .. turn of the reminders
	Else                                        ' Otherwise
		oAppt.ReminderSet = True                ' .. ensure the reminder is on.
                                                ' .. and set to 2 minutes before the meeting.
		oAppt.ReminderMinutesBeforeStart = 2
	End If
	oAppt.Save                                  ' Save it.
End Sub