Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-10-2015, 12:01 PM
BillMaintenance BillMaintenance is offline Create macro program to automatically email outlook with a visible cell range Windows 7 32bit Create macro program to automatically email outlook with a visible cell range Office 2013
Novice
Create macro program to automatically email outlook with a visible cell range
 
Join Date: Feb 2015
Posts: 15
BillMaintenance is on a distinguished road
Thumbs down Working fine the way it is. Thanks

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
Attached Files
File Type: xlsm CAGE INVENTORY LIST 2-6-2015#3.xlsm (139.5 KB, 11 views)
Reply With Quote
Reply



Similar Threads
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

Other Forums: Access Forums

All times are GMT -7. The time now is 02:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft