Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write vba code to send, on the click of a button, a range of
cells which exclude certain hidden colums. I wish to sent it to an an email address which is contained in a cell on the worksheet, and I want to be able to add text to the body of the email, by way of a personal message. I have used ron de bruin's examples and some code from elswhere. So fari have managed to send the modified range, but it does not give me the opportinuty to add text or to retrieve it from elsewhere before the email is sent. Can anyone help, please? I am a novice and much of my code so far has beed done on trial and error basis. Peter Vaughton |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Peter
http://www.rondebruin.nl/mail/folder3/mail4.htm Download the example workbook form my site with Body examples to test Read http://www.rondebruin.nl/mail/tips2.htm And use Display instead of Send so you can add your text Post back with the exact problem you have after trying the code above -- Regards Ron de Bruin http://www.rondebruin.nl "Peter Vaughton" wrote in message ... I am trying to write vba code to send, on the click of a button, a range of cells which exclude certain hidden colums. I wish to sent it to an an email address which is contained in a cell on the worksheet, and I want to be able to add text to the body of the email, by way of a personal message. I have used ron de bruin's examples and some code from elswhere. So fari have managed to send the modified range, but it does not give me the opportinuty to add text or to retrieve it from elsewhere before the email is sent. Can anyone help, please? I am a novice and much of my code so far has beed done on trial and error basis. Peter Vaughton |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Emailing a template and keeping same layout as the message body | Excel Discussion (Misc queries) | |||
Trying to send an email with body text, to a range of cells | Excel Discussion (Misc queries) | |||
Adding text to body of email with workbook attached. | Excel Programming | |||
Code problem emailing range as html in Outlook body | Excel Programming | |||
Adding text to the body of an e-mail | Excel Programming |