Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got an Access database and in there I have macro which outputs a query to a csv file ready for import into another system we are using. As part of this macro it makes a backup of the base table and then later changes the contents of the original table. When it does the backup, I get a dialog box asking me to confirm that I want to overwrite the old backup table.

I don't want this dialog box coming up because the macro will be run by an end user eventually. I'm using

DoCmd.CopyObject to do this. Is there a way I can supress this dialog box?



share|improve this question
Have you tried DoCmd.SetWarnings False? – Constablebrew Aug 26 '13 at 6:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.