OTLK2K3-VBA : Application_ItemLoad.

S

Seb...

hello

In outlook2007, there is Application_ItemLoad.

Is there an equivalent for outlook2003 ?

I need to execute a code to establish a contact.

Thank you in advance.

seb
 
K

Ken Slovak - [MVP - Outlook]

No, that event was added in Outlook 2007. If you want to handle the opening
of an item use Inspectors.NewInspector(). To get which item or items are
being handled in a folder view use the ActiveExplorer.Selection collection.
You can instantiate objects for each member of Selection and handle the read
event for those items to see which are being read.
ActiveExplorer.SelectionChange() fires when the user changes what's
selected.
 
Top