A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Searching Through Folders



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 4th 06, 02:12 PM posted to microsoft.public.outlook.program_vba
Ian Mackenzie
external usenet poster
 
Posts: 10
Default 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


Ads
  #2  
Old April 4th 06, 03:43 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for someone on the net Helene Scott Outlook Express 2 March 29th 06 03:55 PM
Searching for contact Bob Outlook - Using Contacts 2 March 24th 06 03:10 PM
Searching a contact folder created in Public Folders fails. Ben McKellar Outlook - Using Contacts 0 March 12th 06 11:26 PM
searching personel folders with subfolders ticked not finding contacts etc Tim Outlook - General Queries 0 February 8th 06 02:31 AM
Searching Contacts and sub folders MCA Outlook - Using Contacts 2 January 19th 06 09:26 AM


All times are GMT +1. The time now is 11:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.