View Single Post
  #1  
Old April 11th 06, 01:42 PM posted to microsoft.public.outlook.program_vba
Robert Halford
external usenet poster
 
Posts: 5
Default Finding Messages in an Outlook folder

Where can I find out the full syntax for the "find" method for an Outlook
folder?

I want to be able to search a folder for messages matching certain
criteria - for example create date less than 10 days ago, subject contains a
specific word etc.

The documentation just shows a single example:

Set objContact = objContacts.Items.Find("[FileAs] = ""Smith, Jeff"" and
[FirstName] = ""Jeff""")

I would like to see a full list of fields and the sort of match criteria
available (e.g. how to search on dates).

Thanks


Ads