Access ContactItem from currently selected contact

M

MAHRNDT

Hello.

I have one question, can you give me a quick example how I can access in
Outlook under Contacts and the CurrentItem the field:
ContactItem.BusinessAddressCity ?

I am coding in VB. But I guess if you just give me a hint in C I should also
be able to transform it to VB.

Thanks and regards
Michael Ahrndt
 
M

Michael Bauer

Hi Michael,

if at least one item is selected then the current first one is:
Application.ActiveExplorer.Selection(1)

You have to check whether it´s a ContactItem or anything else.
 
Top