如题

VB.NET生成Excel,已存在提示框点否时报错-LMLPHP

VB.NET生成Excel,已存在提示框点否时报错-LMLPHP

VB.NET生成Excel,已存在提示框点否时报错-LMLPHP

Exception from HRESULT: 0x800A03EC

最终没有好的解决方案,只好屏蔽掉

            Try
obook.SaveAs(excelSaveName)
Catch ex As System.Runtime.InteropServices.COMException
'屏蔽掉Exception from HRESULT: 0x800A03EC
End Try
05-11 12:54