Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / August 2003

Tip: Looking for answers? Try searching our database.

outlook, appointment item, [Start], using date and time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don - 27 Aug 2003 17:19 GMT
How do I get both the date and the time to be used for
[Start] when programmatically trying to find an
appointment?

Example:

Dim tt

'this works:
tt = "[Start] = ""7/18/2003"""

'this does not work:
tt = "[Start] = ""7/18/2003 4:30:00 PM"""

Set ExistingAppointment = ExistingAppointments.Find(tt)
Sue Mosher [MVP] - 27 Aug 2003 18:02 GMT
Omit the seconds. See http://www.slipstick.com/dev/finddate.htm 
Signature

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.outlookcode.com/jumpstart.aspx 

> How do I get both the date and the time to be used for
> [Start] when programmatically trying to find an
[quoted text clipped - 11 lines]
>
> Set ExistingAppointment = ExistingAppointments.Find(tt)
Donald Casper - 28 Aug 2003 17:46 GMT
Success! Thank you Sue Mosher!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.