![]() |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
My company wants additonal things which I have added. The 1st thing they want is to email selected ranges, not when work book opens but every week or so. The code I am presently using to email when sheet is open is below.
' Select range of cells on the active worksheet ActiveSheet.Range("G2:G1000 ").Select ' Show the envelope on the Activeworkbook. ActiveWorkbook.EnvelopeVisible = True 'Set the optional introduction field thats adds ' add header to email body. It also sets ' the to and Suject line. Finally the message ' is sent. With ActiveSheet.MailEnvelope .Introduction = "Inventory" .Item.To = "bill_runyan@onesolutionlogistics.com" .Item.Cc = "" .Item.Subject = "Please Order" End With I will attach the newest spreadsheet, it has changed a little bit from the original. Thanks for the help I have received so far |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatically add firm name to visible contactname | spqr² | Outlook | 0 | 12-29-2014 03:24 PM |
Change formula cell range based on cell value | Scoth | Excel | 4 | 10-25-2012 07:51 AM |
Email macro to read range for .To field | MattMurdock | Excel Programming | 2 | 08-07-2012 06:46 AM |
Can't create new email or access email acounts Outlook 2003 | onthebeaches | Outlook | 1 | 02-20-2012 10:21 PM |
Outlook Not Sending Automated Email Unless Visible | RMittelman | Outlook | 0 | 12-10-2010 11:18 AM |