Accessing Outlooks address book via VBA embedded in Excel

  • Thread starter Thread starter Phil Martin
  • Start date Start date
P

Phil Martin

I have a spreadsheet that mails itself to an end user upon completion. The
recipient is specified by the user. At the moment this is by using inputbox.
What I would like to do is bring up the Outlook address book and let the user
select the email address from that. Is that possible?
 
Hi Phil

Display the mail and let the user choose

Do you use SendMail in the code or the Outlook object model
 
Hi Ron,

The sendmail is in the code. At the moment the user does not see the mail.
It acts like it is a background process
 
Hi Phil

Then use

.SendMail "", _
"This is the Subject line"

If the To is "" empty it will display the mail and the user can use the address book
 
Hi Ron,

Works perfectly, thanks very much

Ron de Bruin said:
Hi Phil

Then use

.SendMail "", _
"This is the Subject line"

If the To is "" empty it will display the mail and the user can use the address book
 

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