Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top