Chris Green
58-Year-Old ASBO Material
- Local time
- Yesterday, 21:57
- Joined
- May 10, 2008
- Messages
- 8
I've set up a macro to export two of my queries to Excel for easy e-mailing to non-Access-using recipients. They work just fine when run from the Macros list but I'm trying to automate the process from a control button on the main screen of the whole database.
Unfortunately this masks two instances of dialog boxes prompting me with "File exists. Overwrite? Yes or No" (the default is "No") so unbeknown to the operator, nothing has happened behind the scenes. Is there another line I can add to the macro (maybe a Sendkeys string?) to make it press on without these dialog boxes causing it to stop indefinitely?
Unfortunately this masks two instances of dialog boxes prompting me with "File exists. Overwrite? Yes or No" (the default is "No") so unbeknown to the operator, nothing has happened behind the scenes. Is there another line I can add to the macro (maybe a Sendkeys string?) to make it press on without these dialog boxes causing it to stop indefinitely?
Last edited: