I want to create Excel file. I am using visual studio 2013. All code example suggest to use Microsoft.Office.Interop.Excel \Microsoft Excel XX.X Object Library. But I dont see any dll like those in COM tab ( add reference -> COM tab).

What is the reason? How can I add the reference? is there another way to create .XLS and write to it?

Thank you in advance

有帮助吗?

解决方案

You should use open xml sdk , to manage the Excel file as XML document. see here.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top