Disable Warning Message from Microsoft Outlook in Excel VBA

G

Guest

Hi, I wrote a macro to send out email using ActiveWorkbook.SendEmail method.
However, every time before the email is sent, there will be an Outlook
warning message pop up on screen to ask you if you want to send out this
message. I have to click "Yes" to proceed. And using
"Application.DisplayAlert=False" will not turn this warning message off (I
guess it's because this is not an Excel warning message). Anyone knows how
to write the VBA code in Excel to turn this Outlook warning message off??
Thanks!!!!!! Sarah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top