ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Problem saving Excel file in HTML format (https://www.excelbanter.com/excel-programming/351289-problem-saving-excel-file-html-format.html)

Nicol

Problem saving Excel file in HTML format
 
Hi,

I'm experiencing a problem very similar to the one described in KB221084.
I'm creating a temporary excel file with a randomly generated filename (using
Path.GetTempFileName, replacing the .tmp with .xls) which I am then saving in
html format without changing the file extension (always xls). If I attempt to
save a file with the same name as one which already exists (which I want to
overwrite) I get the error message decribed in the KB article. What I would
like to know is what file(s) / folder(s) can I delete to prevent this error
from occuring. Changing the name of the excel file is not an option for me.

Thanks in advance.


All times are GMT +1. The time now is 09:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com