Send an email at a specific time with Outlook

guruman

Board Regular
Joined
Nov 4, 2004
Messages
64
Hi,

I am trying to send an email at 10:30 am every morning to the same address each day. I was wondering if there is a way to do this. Right now I have the following in excel;

Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Dim wb As Workbook
Application.ScreenUpdating = False
Sheets(Array("Buys", "Sells")).Copy
Set wb = ActiveWorkbook
With wb
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(olMailItem)
With OutMail
.To = "me@home.com"
.CC = ""
.BCC = ""
.Subject = "Account Info"
.Body = " "
.Attachments.Add
.Send
End With
.Close False
End With
Application.ScreenUpdating = True
Set OutMail = Nothing
Set OutApp = Nothing
End Sub

What else do I need to add, and can I program a macro in Outlook?

Thanks.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Send scheduled e-mail w/attachment

We purchased a great software program (approx $25) that works w/Microsoft Office products -- it allows me to schedule all of my daily, weekly, and monthly e-mails. Strongly recommend you look at this site. For $25, its a no-brainer (considering your valuable time spent each day dong this redundant task).

http://www.sperrysoftware.com/Outlook/Schedule-Recurring-Email.asp

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,224,837
Messages
6,181,255
Members
453,028
Latest member
letswriteafairytale

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top