Delete an Appointment

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
 
S

Sue Mosher [MVP]

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
 
D

Dale L Martin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top