Delete an Appointment

  • Thread starter Thread starter Dale L Martin
  • Start date Start date
D

Dale L Martin

Thanks to some previous notes on this newgroups, I have gotten a small
application I wrote in VB4 to add appointments to Outlook Calendar.

Now, can someone help me figure out how to delete an appointment?

I can't find anything in Help that tells me how to find the appointment to
then be able to delete it.

Thanks,

Dale Martin
Houston, TX
 
You can use the Find or Restrict method to find an item that meets particular criteria. Searching by date is tricky -- see http://www.slipstick.com/dev/finddate.htm . Once your application has returned a particular item, you can use the AppointmentItem.Delete method.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm
 
Sue,

Thanks. This newsgroup is amazing. One can ask a question and just a few
hours later have an answer in hand. While your's wasn't exactly the way I
found to do it, I did find an oblique reference to going through the
appointment folder items looking for keywords. I tried that and I have yet
to get an error. Cool!

I'll look into Find, though. That might be faster and more reliable.

Thanks again,

dale

You can use the Find or Restrict method to find an item that meets
particular criteria. Searching by date is tricky -- see
http://www.slipstick.com/dev/finddate.htm . Once your application has
returned a particular item, you can use the AppointmentItem.Delete method.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm
 
Back
Top