mail vba excel

  • Thread starter Thread starter flek
  • Start date Start date
F

flek

hey at all,
i am programming in VBA and i create a macro to send attachments
automatically to my friends. Macro work on but Outlook give me the
following message:
"A program is trying to automatically send e-mail on your computer
behalf. Do you want to allow this?"
At this point i am forced to click on yes and the mail has been sent
correclty.
IT is possible to avoid this "problem" from outlook?

thank s in advance
 
This "problem," as you describe it, is a security feature that has prevented Outlook from being the vehicle for spreading viruses. 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.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top