Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Searching Through Folders (http://www.outlookbanter.com/outlook-vba/10489-searching-through-folders.html)

Ian Mackenzie April 4th 06 02:12 PM

Searching Through Folders
 
Hi Guys

Is it possible to search a folder, lets say the Appointments, for a specific
appointment using a UserProperties field which not all appointments will
have?

Something like this...
Appointment :=
NSpace.GetDefaultFolder(olFolderCalendar).Items.fi nd('[AppointmentKey]=123');

Thanks

Ian



Sue Mosher [MVP-Outlook] April 4th 06 03:43 PM

Searching Through Folders
 
Yes, as long as the field is defined in the folder, not just in individual items.

--
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

"Ian Mackenzie" wrote in message ...
Hi Guys

Is it possible to search a folder, lets say the Appointments, for a specific
appointment using a UserProperties field which not all appointments will
have?

Something like this...
Appointment :=
NSpace.GetDefaultFolder(olFolderCalendar).Items.fi nd('[AppointmentKey]=123');

Thanks

Ian




All times are GMT +1. The time now is 08:45 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com