ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do you email a portion of a worksheet (range) as an insert into the body of an email? (https://www.excelbanter.com/excel-programming/390404-how-do-you-email-portion-worksheet-range-insert-into-body-email.html)

Bruce[_2_]

how do you email a portion of a worksheet (range) as an insert into the body of an email?
 
I want to create a macro or a procedure that will take a portion of a
worksheet and then send it to an email address.
This is to basically sending an invoice. I want to include this in the BODY
and NOT as an attachment.

Thanks
Bruce


Gary Keramidas

how do you email a portion of a worksheet (range) as an insert into the body of an email?
 
try ron's site
http://www.rondebruin.nl/sendmail.htm

--


Gary


"Bruce" wrote in message
...
I want to create a macro or a procedure that will take a portion of a worksheet
and then send it to an email address.
This is to basically sending an invoice. I want to include this in the BODY
and NOT as an attachment.

Thanks
Bruce




JLGWhiz

how do you email a portion of a worksheet (range) as an insert int
 
This site should help.

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

"Bruce" wrote:

I want to create a macro or a procedure that will take a portion of a
worksheet and then send it to an email address.
This is to basically sending an invoice. I want to include this in the BODY
and NOT as an attachment.

Thanks
Bruce



Bruce[_2_]

how do you email a portion of a worksheet (range) as an insert into the body of an email?
 
Do you know how to set it up so taht it uses a specific account?
I have tried modifying to be like:
With OutMail
.To = emailname
.CC = ""
.BCC = bbcname 'bbc is set to a valid email address
.SendUsingAccount = bbcname
.Subject = "Invoice for - " & Range("L6").Value & " - " &
Application.Text(Range("L4").Value, "mmm-dd-yyyy")
.HTMLBody = RangetoHTML(rng)
.Send 'or use .Display

End With

Thanks




"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
try ron's site
http://www.rondebruin.nl/sendmail.htm

--


Gary


"Bruce" wrote in message
...
I want to create a macro or a procedure that will take a portion of a
worksheet and then send it to an email address.
This is to basically sending an invoice. I want to include this in the
BODY and NOT as an attachment.

Thanks
Bruce






All times are GMT +1. The time now is 11:09 AM.

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