Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to set up a macros that will allow me to send a specific range of
cells in a worksheet to multiple e-mail recipients. I don't have any problem creating the first range of cells and e-mail address, but I am not sure how to set up the next commands. Do you have any suggestions? Sub MacroTest() ' Select the range of cells on the active worksheet. ActiveSheet.Range("A1:H7", "A9:H12").Select ' Show the envelope on the ActiveWorkbook. ActiveWorkbook.EnvelopeVisible = False ' Set the optional introduction field thats adds ' some header text to the email body. It also sets ' the To and Subject lines. Finally the message ' is sent. With ActiveSheet.MailEnvelope .Introduction = "This is a sample worksheet." .Item.To = " .Item.Subject = "Test" .Item.Send End With End Sub -- Thank you, Meghan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Would like to send an e-mail to multiple address entered as data. | Excel Discussion (Misc queries) | |||
Mail Merge Without Recipients - Is It Something Else? | Excel Discussion (Misc queries) | |||
Email/Mail Merge document lines to specific multiple recipients | Excel Discussion (Misc queries) | |||
send mail from excel 2000 with multiple attachments | Excel Programming | |||
Mail Recipients | Setting up and Configuration of Excel |