Open and handle part much to say, a lot of information book.SaveAs (html_filename, Excel.XlFileFormat.xlHtml, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing, Type .Ssing, type.missing, type.missing; need to pay attention to two parameters, one is excel.xlFileFormat.xlhtml, one is excel.xlsaveasaccessmode.xlnochange parameter If the transfer error usually triggers a comexception, say "Exception from HRESULT: 0x800A03EC "