View Single Post
  #2  
Old May 2nd 07, 06:48 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook find Method

What is your code?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Meex" wrote in message
ups.com...
Hi,

I use the Items.Find method to search for a certain item,
sometimes it happens that the mehtod returns something, but when
I try to call a method on the returned item, or try to read a
property I get an automatisation error, although the item is really
in the system. It's also not possible to catch the error, because the
returned items is not Nothing so this comparison with IS NOTHING
returns false, when I try IS NULL or = "", I get the automatisation
error?
What could be the cause, or how can I catch the error?

regards
Meex



Ads