PC Review


Reply
Thread Tools Rate Thread

Avoid Outlook macro security for Excel bades macro

 
 
blackbox via OfficeKB.com
Guest
Posts: n/a
 
      11th Jun 2007
I wasn't sure where I sould post this so i'm postin in the Excel and Outlook
forums.

I have a macros in excel that generate emails in Outlook. As it is now, I
press a command button which generates the email and I then have to press
Send on each.

When I change the macro from .Display to .Send, Outlook's security catches it
and after several seconds displays a message box staiting that "A program is
attempting to send an email on your behalf. Do you want to continue?"

It kind of defeats the purpose of the .Send command, especially since it's
slower than displaying the email and hitting the send button.

I don't want to shut off the macro security completely.

Is there a way to authorize specific macro to run without the security pop-up?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200706/1

 
Reply With Quote
 
 
 
 
Norman Jones
Guest
Posts: n/a
 
      11th Jun 2007
Hi BlackBox,

See Ron de Bruin at:

How To Prevent displaying the dialog that enables you
to send or not send the message
http://www.rondebruin.nl/mail/prevent.htm

Sending mail from Excel with CDO
http://www.rondebruin.nl/cdo.htm


---
Regards,
Norman



"blackbox via OfficeKB.com" <u20390@uwe> wrote in message
news:73857f3cf387e@uwe...
>I wasn't sure where I sould post this so i'm postin in the Excel and
>Outlook
> forums.
>
> I have a macros in excel that generate emails in Outlook. As it is now, I
> press a command button which generates the email and I then have to press
> Send on each.
>
> When I change the macro from .Display to .Send, Outlook's security catches
> it
> and after several seconds displays a message box staiting that "A program
> is
> attempting to send an email on your behalf. Do you want to continue?"
>
> It kind of defeats the purpose of the .Send command, especially since it's
> slower than displaying the email and hitting the send button.
>
> I don't want to shut off the macro security completely.
>
> Is there a way to authorize specific macro to run without the security
> pop-up?
>
>
> --
> Message posted via OfficeKB.com
> http://www.officekb.com/Uwe/Forums.a...mming/200706/1
>



 
Reply With Quote
 
blackbox via OfficeKB.com
Guest
Posts: n/a
 
      11th Jun 2007
I had already tried that.

I tried
Sending a sheet without pictures in the body of the mail (HTML)
and
Sending the selection or range in the body of the mail without pictures (HTML)


keep getting

runtime error '-214720960 (80040200)':
The "SendUsing" configuration value is invalid


Norman Jones wrote:
>Hi BlackBox,
>
>See Ron de Bruin at:
>
> How To Prevent displaying the dialog that enables you
> to send or not send the message
> http://www.rondebruin.nl/mail/prevent.htm
>
> Sending mail from Excel with CDO
> http://www.rondebruin.nl/cdo.htm
>
>---
>Regards,
>Norman
>
>>I wasn't sure where I sould post this so i'm postin in the Excel and
>>Outlook

>[quoted text clipped - 17 lines]
>> Is there a way to authorize specific macro to run without the security
>> pop-up?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200706/1

 
Reply With Quote
 
Norman Jones
Guest
Posts: n/a
 
      11th Jun 2007
Hi BlackBox,

Did you read Ron's 'Read this!!!' section at the
top of the page:

http://www.rondebruin.nl/cdo.htm

?


---
Regards,
Norman

"blackbox via OfficeKB.com" <u20390@uwe> wrote in message
news:738829608dad2@uwe...
>I had already tried that.
>
> I tried
> Sending a sheet without pictures in the body of the mail (HTML)
> and
> Sending the selection or range in the body of the mail without pictures
> (HTML)
>
>
> keep getting
>
> runtime error '-214720960 (80040200)':
> The "SendUsing" configuration value is invalid
>
>



 
Reply With Quote
 
blackbox via OfficeKB.com
Guest
Posts: n/a
 
      15th Jun 2007
got it to work, didn't have the right server name

thanks for you help

Norman Jones wrote:
>Hi BlackBox,
>
>Did you read Ron's 'Read this!!!' section at the
>top of the page:
>
> http://www.rondebruin.nl/cdo.htm
>
>?
>
>---
>Regards,
>Norman
>
>>I had already tried that.
>>

>[quoted text clipped - 8 lines]
>> runtime error '-214720960 (80040200)':
>> The "SendUsing" configuration value is invalid


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200706/1

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel macro using email - Security warning from Outlook Andre Croteau Microsoft Excel Programming 4 9th Sep 2011 06:29 PM
how to avoid excel pop-up in macro Francesco Magagnino Microsoft Excel Misc 3 8th Sep 2008 11:30 AM
Call macro stored in Excel workbook from Outlook's macro =?Utf-8?B?R3ZhcmFt?= Microsoft Excel Programming 0 4th Oct 2006 05:47 PM
Macro needed to set macro security in Excel to minimum =?Utf-8?B?Q2FybA==?= Microsoft Excel Programming 3 18th Mar 2006 03:36 PM
How can avoid the security Macro message ... John B Microsoft Excel Misc 1 29th Mar 2005 07:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:38 PM.