Link to home
Start Free TrialLog in
Avatar of jlcannon
jlcannon

asked on

Excel VB Script Sendmail

I have an excel workbook that I use to track action items. If there is an item overdue it sends an email. when I run the code and there is an overdue item, it still have to click "Allow" for outlook. is there a way in my vb script code to turn off the outlook dialog?

Workbooks("Action Item List Definitions & Instructions.xlsx").SendMail Recipients:=ToWhom, Subject:="Action Item Assigned! Go to <\\Birmingham\GolfPros\Staff Meetings\02-Meetings_&_Action_Register\ Action Items.xls>"

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jlcannon
jlcannon

ASKER

CDO is the way to go since outlook admin has programmatic access locked.