码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2014-10-30 11:17:08      阅读:351      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   color   sp   div   on   2014   

如题

bubuko.com,布布扣

bubuko.com,布布扣

 

bubuko.com,布布扣

Exception from HRESULT: 0x800A03EC

 

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

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

 

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

标签:style   blog   http   io   color   sp   div   on   2014   

原文地址:http://www.cnblogs.com/mihe/p/4062037.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!