Excel dll for Microsoft.Office.Interop.Excel

冷暖自知 提交于 2019-11-28 11:15:35

You will need to have MS Office and the Office Interop assemblies installed on your server in order for that to work.

I'm pretty sure that you will need to have Office installed on the machine it's runnnig on. At least that's my experience from building desktop apps that uses Office.Interop

Please go through the following URLs for redistribution:

How to make changes in references

Where to get distribution

This may help your suituation. And also according to the distribution page, you also need to install office also.

Dan B

OpenXML?

I got it working at the moment to create Office 2007/Open Office spreadsheet files.

  1. Point to table
  2. Include column headers - optional parameter
  3. Detect data type - optional parameter
  4. Stream to user or save to file system or save to file system then immediately download.
  5. Outcomes an Excel file with cells that are detected as numbers / strings.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!