Graham-
I actually WANT the transferspreadsheet command to overwrite the file, but I can't get it to.
I have an Excel file with a graph and report on Sheet1. I would like the user to be able to click a button on an Access 97 Form (which uses the transferspreadsheet command) to export two queries (qryReport and qryGraph) to the existing file. Both queries are based upon a Well #, which the user selects.
I would like the user to be able to select a Well# and click "export" ... and have it overwrite the existing data in the "qryReport" and "qryGraph" sheets of the named file. That way, Sheet1 won't lose the reference to the imported files.
Is it possible to get Access to overwrite the data? Or can you suggest another way of accomplishing the same task?
Thanks