MapiFolder

T

Tom

I am getting this dialog box after building code to move e-mail to a folder
in Microsoft Outlook as well as copying the attachments to another folder so
it can be imported and updated into Access. "A program is trying to access
e-mail addresses you have stored in Outlook. Do you want to allow this? If
this is unexpected, it may be a virus and you should choose NO." There is a
check box that you may choose that gives you up to 10 minutes or you may just
choose "Yes" "No" or "Help". If I choose "Yes" it works fine. I want it to
be automatic. I have tried to put DoCmd.Setwarnings False in front and
DoCmd.Setwarnings True at the end but the Dialog box still pops up. Need
help!!!
 

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

Top