Since that is using a Simple MAPI call none of the usual workarounds for
using Outlook automation will work for you such as Redemption
(
www.dimastr.com/redemption). Try searching for "ClickYes" as a possible
workaround for you when using Simple MAPI calls that trigger the Outlook
object model guard.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"wpiet" wrote in message
...
I have an Excel macro that sends e-mails via Outlook, using the VBA "Send
Method."
For each message sent, Outlook displays a warning requiring a "Yes"
response.
Is there a way, either in Outlook or in the Excel macro, to generate an
automatic reply to these messages?