View Single Post
  #2  
Old June 21st 06, 09:06 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default howto check if there already are an appointment on day/time

See http://www.outlookcode.com/d/finddate.htm for samples that show how to use the Find method to search for appointments within a date/time range.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"StoltHD" wrote in message news
I need some help with a little code that can search my calendar for excisting
appointments and if there are one thats on the same date that the one I'm
going to create, check if the timespan for the excisting appointment crash
with the new one.
i need 1/2 a hour between the appointments.
if there are a crash, I need to create a mail ( the subject and all that I
will figure out) and send it incl. to a cc.

I have the code for if the appointments are the same, based on billing
information w.m.
and the code for creating the appointment.
so the only thing I need are to figure uot how to compair the appointments...

best regards

jaran

Ads