Greate a macro to send worksheet in an email

J

Julie

How do I create a button on a worksheet for users to click on to send the
worksheet as an email to someone else. I want them to be able to click on a
button that will notify the office that their report is complete.

I have created a button and tried to record a macro but the email only sends
when I am recording the action, not when I click on the object later.

HELP
 
J

Julie

Thanks Gord,

this site is fantastic. But I am still a bit dumb on code. What is meant by
RangetoHTML and the first line that says: ' Don't forget to copy the function
RangetoHTML in the module.

I am not sure what to do.
 
G

Gord Dibben

Rangetohtml is a User Defined Function

That UDF must be copied from Ron's site to your workbook module along with
the macro.

I'm not sure which page you are on but the rangetohtml UDF is below the
macro.

Can you post the URL for the page you are on?

Here is a link with the UDF below the macro.

http://www.rondebruin.nl/mail/folder3/mail4.htm

You would be much better of downloading the SendMail add-in IMO


Gord
 

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