emailing single worksheet

G

Guest

I’ve adopted Ron de Bruin's macro to e-mail a single worksheet, but how do you change the recipient “on the fly�

My sheet extracts data for the selected individual from another sheet and I want to send that data to that individual, then clear their data and extract the next person’s data and send that to them.

Something that pauses the macro and prompts for the address is what I’m after I suppose.

Many Thanks,
Ken G.
 
R

Ron de Bruin

Hi Ken


http://www.rondebruin.nl/sendmail.htm#Tips

If you use this line you can choose a address in the address book or type one yourself.
And also you can type some text in the body.
.SendMail "", "This is the Subject line"


With Outlook code you can use Display instead of Send


--
Regards Ron de Bruin
http://www.rondebruin.nl


Ken G. said:
I've adopted Ron de Bruin's macro to e-mail a single worksheet, but how do you change the recipient "on the fly"?

My sheet extracts data for the selected individual from another sheet and I want to send that data to that individual, then clear
their data and extract the next person's data and send that to them.
 
G

Guest

Thanks Ron, I actually did something different with a look up table that grabs the email address when the name is entered and then the macro refers to the cell with the result of the lookup.

Next question is - can you put a standard message in the macro to go into the body of the e-mail?
 

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

Top