Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to I Avoid the Auto-Email Security Warning

I have Excel-VBA code to send emails with attachments via
Outlook. When doing this Outlook prompts the user "a
program is trying to send an email on your behalf, ok?".
Is there any code to get rid of this given the following.

1. I want to use Outlook (not CDO-based email)
2. I do not have Outlook Express with the sec. function
to turn off this warning.
3. I do not want to install the ClickYes shareware that
can avoid this.

Please advise if anyone knows! Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default How to I Avoid the Auto-Email Security Warning

Hi Steve

Then try this

Instead of .Send in the code examples you can use this two lines.
SendKeys is not always reliable, but I have good results with it.
Note: the S is from Send, if you not use a English version you must change this letter.

..Display
Application.SendKeys "%S"

Or send mail from a computer with Excel 2000 Sr1 (no security warning)

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Steve" wrote in message ...
I have Excel-VBA code to send emails with attachments via
Outlook. When doing this Outlook prompts the user "a
program is trying to send an email on your behalf, ok?".
Is there any code to get rid of this given the following.

1. I want to use Outlook (not CDO-based email)
2. I do not have Outlook Express with the sec. function
to turn off this warning.
3. I do not want to install the ClickYes shareware that
can avoid this.

Please advise if anyone knows! Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Warning... In-Thought Links and Linking in Excel 0 August 21st 09 05:56 PM
Security warning for no reason razlapi Excel Discussion (Misc queries) 3 February 8th 08 02:22 AM
Macro/Security Warning Marc Excel Discussion (Misc queries) 3 May 30th 05 10:06 PM
How can avoid the security Macro message ... John B Excel Discussion (Misc queries) 1 March 29th 05 07:43 PM
ADO Security Warning Martin Eckart Excel Programming 1 January 29th 04 04:35 AM


All times are GMT +1. The time now is 10:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"