View Single Post
Old 06-13-2005, 06:26 AM
Barry Richardson Barry Richardson is offline
Join Date: Jun 2005
Posts: 1
Barry Richardson is on a distinguished road
Thumbs up Delete excel files by code in Access

I have a program that exports to excel spreadsheet, the fields it exports are variable, if i export many fields, then a couple of fields then again many fields the transfer spreadsheet fails as the file says there are too many fields.
#It would appeat that what I need to do is delete the spreadsheet before exporting, I am looking for code to check existence of file and then to delete if exists.

any help?
Reply With Quote