LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 2
Default Macro to send an email automatically

I currently have a macro in Excel 2010 that automatically sends and email to a specific person when a file is saved. Unfortunately some of the the users of this file still have Excel 2007 and the macro does not seem to be working for them. Any thoughts?

Here is what I am currently using:

Private Sub Workbook_AfterSave(ByVal Success As Boolean)
ActiveWorkbook.SendMail Recipients:=Array("email address"), Subject:="New Job"

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro to automatically send an excel spreadsheet by email MIN Excel Programming 1 May 12th 10 03:41 PM
Macro to send email automatically. Dan Wood Excel Discussion (Misc queries) 3 December 20th 09 12:19 PM
Macros to send email automatically prague[_3_] Excel Programming 9 February 17th 06 11:45 AM
automatically send email in excel based on value/macro guru stuff Michael A Excel Programming 2 June 14th 05 09:08 PM
automatically send email from excel charlie Excel Programming 2 September 11th 04 08:31 PM


All times are GMT +1. The time now is 05:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"