How to run a macro with auto confirm to "YES" option

K

Karen Middleton

I have a macro that calls a few access queries and before calling any
of the access queries it loads data from a .csv file.

But the annoying part of the macro is it asks for yes, no confirmation
in many places is it possible for me to ensure that the macro runs in
silent mode also is it possible for me to invoke the macro from
command line from DOS prompt.

Thanks
Karen
 
C

Chris Reveille

Use the SetWarnings action in the beginning of your macro
set it to NO
Chris
 

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