在Vb.net中导出Excel [英] Export Excel in Vb.net

查看:366
本文介绍了在Vb.net中导出Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载 http://www.codeproject.com/KB/vb/Senthil_S__Software_Eng_/ExportToExcel。 zip [ ^ ]和运行程序但发生错误。

旧格式或无效类型库。(HRESULT异常:0x80028018(TYPE_E_INVDATAREAD))



请关于这个答案的解决方案.. Thx之前..

I am download http://www.codeproject.com/KB/vb/Senthil_S__Software_Eng_/ExportToExcel.zip[^] and running the program but error occured.
"Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))"

please solution about this answer.. Thx before..

推荐答案

以下应该有所帮助: MS支持:BUG:自动化Excel时出现旧格式或无效类型库错误 [ ^ ]



按照上面的文章中的说明更改代码,然后试用。
Following should help: MS Support: BUG: "Old format or invalid type library" error when automating Excel[^]

Change the code as per mentioned in the above article and then try out.


这篇关于在Vb.net中导出Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆