I want to do the following: I want to save my active workbook as an XMLSpreadsheet (format:=xlXMLSpreadsheet) to another directory under another name. If a file with that name already exists on that directory, I want to delete that file first, and then perform the saveas on my ActiveWorkbook. I understand how to do with the SaveAs-part, but how does the code look to delete a file (It is assumed of course, that I have the right to delete the particular file)?
Bengt
Bengt