deanlee17
asked on
Disable warning message when sending email via VBA
Hi All,
I have VBA code to send an email from within Access, but I get the warning message 'A program is trying to automatically send e-mail on your behalf'
Is there anyway to disable this? The database will be used by multiple users so any third party software installed on my machine does not solve the problem for other users.
Thanks,
Dean
I have VBA code to send an email from within Access, but I get the warning message 'A program is trying to automatically send e-mail on your behalf'
Is there anyway to disable this? The database will be used by multiple users so any third party software installed on my machine does not solve the problem for other users.
Thanks,
Dean
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if they do not work there are 3rd party tools that automatically can click yes for you
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi guys,
Thanks for all the replys. Matthewspatrick: what is the CDO technique then? I want to avoid third party software as it was my understanding i would have to go round and install it on each machine?
Thanks,
Dean
Thanks for all the replys. Matthewspatrick: what is the CDO technique then? I want to avoid third party software as it was my understanding i would have to go round and install it on each machine?
Thanks,
Dean
ASKER
Ah thanks cap, didnt see your link before i posted....
if you are using A2007, you need to download CDO
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2714320d-c997-4de1-986f-24f081725d36&DisplayLang=en
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2714320d-c997-4de1-986f-24f081725d36&DisplayLang=en
@matthewspatrick it was not mentioned in the original question anywhere so i thought that might do it. As long as Dean gets some help is all good :)
ASKER
No cap, Access 2003.
ASKER
Thanks Guys
Setwarnings false
In VB:
Docmd.Setwarnings False