A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can I avoid the warning when I send mail from Excel



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 7th 07, 03:04 PM posted to microsoft.public.outlook.program_vba
CH-DE-FDS APRIL
external usenet poster
 
Posts: 1
Default Can I avoid the warning when I send mail from Excel

I have set up a Macro to send different views of a Pivot Table to different
people.
as follows:
"
ActiveWorkbook.SendMail Recipients:="A.N.Other", Subject:="TEXT FOR

RECEIVER"
ReturnWhenDone = True
"


When the Macro accesses Outlook it throws up a warning on screen Saying
"
A program is rying to automatically send Email on your behalf.

Do you want to allow this?

Y / N
"

How can I avoid this warning?

With one or two addresses its not a problem but with 50+ its time consuming
to have to wait and then reply YES!

Thanks for your help







  #2  
Old May 7th 07, 06:37 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Can I avoid the warning when I send mail from Excel

See http://www.outlookcode.com/d/sec.htm for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions. Your Outlook version is a critical factor, so be sure to include it when you post here.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"CH-DE-FDS APRIL" CH-DE-FDS wrote in message ...
I have set up a Macro to send different views of a Pivot Table to different
people.
as follows:
"
ActiveWorkbook.SendMail Recipients:="A.N.Other", Subject:="TEXT FOR

RECEIVER"
ReturnWhenDone = True
"


When the Macro accesses Outlook it throws up a warning on screen Saying
"
A program is rying to automatically send Email on your behalf.

Do you want to allow this?

Y / N
"

How can I avoid this warning?

With one or two addresses its not a problem but with 50+ its time consuming
to have to wait and then reply YES!

Thanks for your help







 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending Excel work books using VBA-How to avoid the alert messag. zulfi Outlook and VBA 1 April 12th 07 03:02 PM
Avoid outlook security warning message. ashish taralekar Outlook - Using Forms 1 April 11th 07 06:06 PM
How can I avoid hyperlink from expanding when send mtg invite? YSL Outlook - Calandaring 0 November 8th 06 07:52 PM
Exporting e-dresses from contacts 2 Excel: how avoid SMTP suffix? John Outlook - Using Contacts 5 July 12th 06 09:21 PM
bypass item.send command warning Gilligan Outlook and VBA 1 March 20th 06 06:04 PM


All times are GMT +1. The time now is 07:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.