View Single Post
 
Old 05-03-2012, 10:47 AM
Fackouch Fackouch is offline Windows 7 32bit Office 2007
Novice
 
Join Date: May 2012
Posts: 1
Fackouch is on a distinguished road
Question Sending open mails automatically

Hi guys,

I'm having a problem getting around this. I have a Macro in excel that run and pull data from database and then send a mails. This works fine. After the macro runs, about 32 Emails are generated. I'm just wondering if there is a way to send them automatically without going through each one and click Send?

I wrote the following but didn't work. I'm only new in outlook VB..

Sub send_all()

Dim olApp As Outlook.Application
Dim objMail As Outlook.MailItem
Set olApp = Outlook.Application.
objMail.Send
end sub

Any sugessions?

Thanks,
Pat
Reply With Quote