需要在不安装Excel的情况下更新Excel文件 [英] Need to update Excel file without installing Excel

查看:173
本文介绍了需要在不安装Excel的情况下更新Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我创建了一个窗口应用程序,用于附加excel文件内容.
我将Microsoft.Office.Interop.Excel命名空间用于附加Excel文件.现在,一切正常.我将此应用程序安装在没有MS Office的系统中,现在在这种情况下会显示错误.
我安装了Microsoft的Re-distribute程序包,但也不起作用.

请对此提供一些想法或帮助.

谢谢.

Hello All,

I have created a window application which used for append the excel file content.
I used Microsoft.Office.Interop.Excel namespace for append Excel file. Now all things are working fine. I install this application in one of system which is not having MS office, now in that case it show error.
I install the Re-distribute package of Microsoft and that also not work.

Please give some idea or help regarding this.

Thanks.

推荐答案

您重新分发了安装的软件包?
您需要在客户端系统上安装许可的Excel,否则Interop可能会失败.
Which re-distribute package you installed ?
You need a licensed Excel installed in the client system, otherwise the Interop may fail.


这篇关于需要在不安装Excel的情况下更新Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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