本文介绍了参考Excel 2007的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个Web应用程序,可以读取并创建Excel电子表格.我在装有Excel 2003/Windows 2003的服务器上,并且正在引用Microsoft.Office.Interlop.Excel 11.0.强大的功能将我转移到了装有Windows 2008和Excel 2007的服务器上.我更改了对Excel版本12.0的引用.它仍然可以在我的开发机器上运行,但是我无法在新服务器上创建excel文件.

我的参考资料是:

Hi All,

I have a web application that reads in and creates excel spread sheets. I was on a server with Excel 2003/Windows 2003 and I was referencing Microsoft.Office.Interlop.Excel 11.0. The powers-to-be moved me to a server with Windows 2008 and Excel 2007 on it. I changed my reference to Excel version 12.0. It still works on my development machine but I can''t create the excel file on the new server.

My references are:

add assembly="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"
add assembly="office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"
add assembly="Microsoft.Vbe.Interop, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"


我是否缺少参考?我们将不胜感激.


Am I missing a reference? Any help will be appreciated.

推荐答案




这篇关于参考Excel 2007的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 21:43