Good day,
I am creating a file with this statement...
xlApp.ActiveWorkbook.SaveAs(FilePath + "\\Summary.html",
Excel.XlFileFormat.xlHtml, Type.Missing,
Type.Missing, Type.Missing, Type.Missing,
Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing);
But I am getting this error:
"Cannot access read-only document 'Summary.html'."
How can I fix this?
Thanks for any help.
I am creating a file with this statement...
xlApp.ActiveWorkbook.SaveAs(FilePath + "\\Summary.html",
Excel.XlFileFormat.xlHtml, Type.Missing,
Type.Missing, Type.Missing, Type.Missing,
Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing);
But I am getting this error:
"Cannot access read-only document 'Summary.html'."
How can I fix this?
Thanks for any help.