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

如题

 

Exception from HRESULT: 0x800A03EC

 

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

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

 

posted on 2014-10-30 11:02  零℃弥合  阅读(328)  评论(0编辑  收藏  举报

导航