Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a excel file with Microsoft.Office.Interop.Excel without Excel installed [closed]

Tags:

c#

excel

I've created a method to generate a excel file in C#, and it works great. But after all the development, we begin to question ourselves on the possibility to create these files on machines that do not have Office installed. I've made a few searches, and nothing has been found.

So, does anybody know of a way to generate excel files without Excel installed on a machine, but using the Interop DLL and OFFICE.dll?

If there isn't a way do it, is there any library that can make this work?

like image 367
Gustavo Gonçalves Avatar asked Oct 02 '22 16:10

Gustavo Gonçalves


2 Answers

This library works without office installed: http://epplus.codeplex.com/ I have used it a few times and it worked nicely for me.

like image 78
Samuel Avatar answered Oct 08 '22 13:10

Samuel


Personnaly i use this lib : https://code.google.com/p/excellibrary/ working great !

like image 28
Pascalz Avatar answered Oct 08 '22 14:10

Pascalz