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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
(e-mail address removed)
 

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

Back
Top