且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在没有安装 MS Office 的机器上使用 Microsoft.Office.Interop.Excel?

更新时间:2023-02-07 21:04:04

如果没有安装 ms office,您将无法使用 Microsoft.Office.Interop.Excel.

You can't use Microsoft.Office.Interop.Excel without having ms office installed.

只需在google中搜索一些库,即可修改xls或xlsx:

Just search in google for some libraries, which allows to modify xls or xlsx:

  • http://code.google.com/p/excellibrary/
  • http://simpleooxml.codeplex.com/ (only xlsx)