StartDownloadsServiceSamplesWorkshopsContact DeutschEnglish
 
Samples
General
Outlook®
 
Awarded by
Microsoft since 2005:
mvp logo
VBOffice Info
Visitors1742382
Impressions6541903
Links
Imprint
Privacy Policy
Contact
Calendar: Delete the reminder of a meeting request
Author: Michael BauerHomepage
Date: 17.08.2007Accessed: 26817
  
Description

Are you bothered if every incoming meeting request has a reminder set? This sample deletes the reminder as soon as the request comes in.

Private WithEvents Items As Outlook.Items

Private Sub Application_Startup()
  Dim Ns As Outlook.NameSpace

  Set Ns = Application.GetNamespace("MAPI")
  Set Items = Ns.GetDefaultFolder(olFolderInbox).Items
End Sub

Private Sub Items_ItemAdd(ByVal Item As Object)
  On Error Resume Next
  Dim Meet As Outlook.MeetingItem
  Dim Appt As Outlook.AppointmentItem

  If TypeOf Item Is Outlook.MeetingItem Then
    Set Meet = Item

    Meet.ReminderSet = False
    Meet.Save

    Set Appt = Meet.GetAssociatedAppointment(True)

    If Not Appt Is Nothing Then
      Appt.ReminderSet = False
      Appt.Save
    End If
  End If
End Sub
 
 

ReplyAll alerts you before unintentionally replying all, or if you are a confidential BCC recipient of the ... [more]

 

Access the master category list in the blink of an eye, share your categories in a network, get a reminder service, and ... [more]

 

SAM automatically sets the sender, signature, and folder for sent items, for instance based on the recipient ... [more]

 

OLKeeper reliably prevents users from closing their Outlook window and thus possibly missing reminders or ... [more]