set Contacts = Application.Session.GetDefaultFolder(olFolderContacts)
set Items = Contacts.Items
set Item = Items.Find("[CompanyName] = 'TheName'")
do while not (Item Is Nothing)
Debug.Print Item.FileAs
set Item = Items.FindNext
loop
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Hi all,
>
[quoted text clipped - 6 lines]
>
> tks