deleting files from within Access

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

I have a routine that exports data to an Excel file. How can I get
Access to delete the Excel file if it already exists before doing the
export?
 
Keith said:
I have a routine that exports data to an Excel file. How can I get
Access to delete the Excel file if it already exists before doing the
export?

Check help file for the Kill command.

Kill "path to file"
 

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

Back
Top