ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do i suppress the message when trying to send mail from xcel (https://www.excelbanter.com/excel-discussion-misc-queries/97620-how-do-i-suppress-message-when-trying-send-mail-xcel.html)

sri

How do i suppress the message when trying to send mail from xcel
 
Hi,

I have written a macro in the excel to select the list of mailids to send
mail.When i was trying to execute the macro, it is asking' A program is
trying to access the mail address in the outlook. do you want to allow this'.

i want to suppress this message.

thanks

Nick Hodge

How do i suppress the message when trying to send mail from xcel
 
You can't suppress this from VBA, it's there for precisely that purpose

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"sri" wrote in message
...
Hi,

I have written a macro in the excel to select the list of mailids to send
mail.When i was trying to execute the macro, it is asking' A program is
trying to access the mail address in the outlook. do you want to allow
this'.

i want to suppress this message.

thanks





All times are GMT +1. The time now is 01:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com