Access ContactItem from currently selected contact

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
Back
Top