Can i use Outlook contacts in Word

  • Thread starter Thread starter Oggy
  • Start date Start date
O

Oggy

Hi,
I use Outlook as my main database for contacts numbers ,address etc...
Does anyone know how i can get a selected persons address from
Outlook using a userform in Word, Or an easier alternitive?

Thanks

Oggy
 
How is this person selected? If they are selecting a Contact in Outlook, you
can use the Explorer.Selection object to return a Contact object (or more)
for the selection.

If all you have is a name from a custom list or something, you can try
retrieving the Contact object by using MAPIFolder.Items("John Doe"). You can
also use the Items.Restrict method to search items in that folder using any
property you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top