Automation problem saving Excel as HTML.

N

nicol

Hi,

I'm trying to save an excel file as html using workbook.SaveAs(fileName,
Excel.XlFileFormat.xlHtml). I'm using a randomly generated filename, which
are being reused eventually leaving me in a situation where I'm attempting to
overwrite a file which alreay exists. I get the error message described in KB
article KB221084

"Alert: The folder that this Web page would use to organize supporting files
is already reserved for use in the current location... "

What I need to know is are there specific files I can delete before
attempting the save to workaround this problem or is there another solution
(aside from choosing a different filename).

Thanks
 

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

Top