Link to home
Start Free TrialLog in
Avatar of mutrus
mutrus

asked on

Getting an Adress from the Address Book

I have a requirement to copy an address from the Address Book into a variable

So far I can open the address book using

On Error Resume Next
MapiMessages.Show

which opens the address book.

How can I put the selected address into a variable

my messaging system is MS Exchange

ASKER CERTIFIED SOLUTION
Avatar of Microsoft
Microsoft

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mutrus
mutrus

ASKER

Hi Andy,
Andy

Great piece of code but for the life of me I can't figure out how to use pieces of it for what I require.

Basically all I need to do is to show the Address Book, select an address and when the Address Book OK button is pressed store that address in a textbox

I tried your GetRC and SetRC but can't get it to work. Your complete application works ok though.

The problem I have is that the Address Book is opening but I have no email open in the background.

Ideas please ???
Avatar of mutrus

ASKER

It took a while but finally I got it to work

Tnks