Originally Posted by
GetWorkDone
Based on link provided earlier you create a procedure in VBA to send email. Once done follow below steps to automate it.
1. Set procedure to run as soon as excel is opened (Use below code in "This Workbook Module" in VBA) Replace SendEmail with your Procedure. This will run your procedure and then close your excel.
Private Sub Workbook_Open()
Call SendEmail
Application.Quit
End Sub
2. Once you have automated auto run of Procedure using windows scheduler set a task to open the file. This will set up auto email at desired time.
Bookmarks