ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   email Button (https://www.excelbanter.com/excel-worksheet-functions/186917-email-button.html)

BadRasta!

email Button
 
Hello All,
I'm trying to create a button that when pressed it sends an email to a
specific email address.
That is...
Button 1 pressed send current worksheet to address
Button 2 pressed send current worksheet to address


& so on

Thnx,
BadRasta

Reitanos

email Button
 
You could use a macro with the following line:
ActiveWorkbook.SendMail "

Excel will attempt to send it using the default mail client (if there
is one) and give the message a subject that is the document name.
You could create the button with the Forms toolbar and assign your
macro to it.

There's probably a way to force a custom subject line - anyone know?

On May 9, 12:40 pm, BadRasta!
wrote:
Hello All,
I'm trying to create a button that when pressed it sends an email to a
specific email address.
That is...
Button 1 pressed send current worksheet to address
Button 2 pressed send current worksheet to address

& so on

Thnx,
BadRasta



Ron de Bruin

email Button
 
Hi BadRasta

See this page
http://www.rondebruin.nl/sendmail.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"BadRasta!" wrote in message ...
Hello All,
I'm trying to create a button that when pressed it sends an email to a
specific email address.
That is...
Button 1 pressed send current worksheet to address
Button 2 pressed send current worksheet to address


& so on

Thnx,
BadRasta


Jasfoster

email Button
 
Is there a way to record the Macro with a line just to send a single sheet
not the entire workbook?

"Reitanos" wrote:

You could use a macro with the following line:
ActiveWorkbook.SendMail "

Excel will attempt to send it using the default mail client (if there
is one) and give the message a subject that is the document name.
You could create the button with the Forms toolbar and assign your
macro to it.

There's probably a way to force a custom subject line - anyone know?

On May 9, 12:40 pm, BadRasta!
wrote:
Hello All,
I'm trying to create a button that when pressed it sends an email to a
specific email address.
That is...
Button 1 pressed send current worksheet to address
Button 2 pressed send current worksheet to address

& so on

Thnx,
BadRasta





All times are GMT +1. The time now is 05:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com