Try using the code in a VBA procedure rather than in a macro. Also, try
retyping the code to be sure the syntax is correct.
I think it's just a security level in outlook (or whatever email software).
Just have a butchers in tools>options and there may be a "ask before automtic
sending from computer program" tick box or something like that.
> Try using the code in a VBA procedure rather than in a macro. Also, try
> retyping the code to be sure the syntax is correct.
[quoted text clipped - 17 lines]
> >> > Anybody
> >> > know the workaround for this fine feature?
BruceM - 28 Mar 2006 15:34 GMT
Outlook 2000 doesn't have anything like that. Maybe it's something with
later versions, but I doubt it. As a test you could try e-mailing a report
snapshot as an attachment to an e-mail and see if you run into any
difficulties.
What is your actual code, and how are you running the code? Is it a macro,
or is it VBA? "Macro inside a macro that runs the query and opens the
report" is vague.
>I think it's just a security level in outlook (or whatever email software).
> Just have a butchers in tools>options and there may be a "ask before
[quoted text clipped - 25 lines]
>> >> > Anybody
>> >> > know the workaround for this fine feature?
jahoobob - 28 Mar 2006 17:56 GMT
It is a pain in the ***. I believe that this "feature" was installed in the
Security patch to keep a program from sending email, something we wouldn't
want a worm program to do, however, MS hasn't seen fit to allow the owner of
a computer to override this for a specific program such as an Access macro.
I seem to recall a "workaround" in the KB but it didn't work.
>I think it's just a security level in outlook (or whatever email software).
>Just have a butchers in tools>options and there may be a "ask before automtic
[quoted text clipped - 5 lines]
>> >> > Anybody
>> >> > know the workaround for this fine feature?
BruceM - 28 Mar 2006 18:55 GMT
That could be. I was pretty sure it is not a user-controlled setting. I
ran into a similar sort of annoyance when I tried to send an e-mail link to
a database. I'll have to see if I have any better luck sending a customized
shortcut once I have implemented user-level security. I understand why an
administrator would want to lock some employees out of the chance to do
dangerous things to the network, but there is no reason for that to be a
hard-coded, inflexible mandate from MS.
> It is a pain in the ***. I believe that this "feature" was installed in
> the
[quoted text clipped - 16 lines]
>>> >> > Anybody
>>> >> > know the workaround for this fine feature?
TC - 29 Mar 2006 06:07 GMT
http://www.dimastr.com/redemption/
HTH,
TC (MVP Access)
http://tc2.atspace.com