I know of some open source libraries for handling with Excel files but these are for only *.xls or *.xlsx, for example NPOI is for *.xls, EPPlus and ClosedXML are for *.xlsx. I don't want to use Microsoft Excel Automation because of the performance matter. Could you please suggest me with some open source or free library meeting this purpose (handle with both *.xls and *.xlsx).
8
-
This is discussed in detail here stackoverflow.com/questions/151005/… – Mudassir Hasan Apr 13 '13 at 17:59
-
1For read or for write? – Joel Peltonen Apr 13 '13 at 18:16
-
Google "Free Opensource C# excel library" – Toby Allen Apr 13 '13 at 18:53
-
@Toby Allen, I don't think it's easy to Google for that, many open source libraries support only *.xls or only *.xlsx, so asking this question is not lazy for Google, also is not duplicated as some ones marked it. Even the link mhasan posted can't help to find a library supporting both xls and xlsx. If you think it's easy, please try and feel yourself. – King King Apr 14 '13 at 11:13
-
The most voted answer in the old question suggesting NPOI and EPPlus which don't satisfy my need. Why do you think this is a duplicate of that question? Looking at the question title, it seems to be a duplicate but the answers to the old question didn't care if those libraries can support both *.xls and *.xlsx. – King King Apr 14 '13 at 11:20
|
Show 3 more comments
How about spreadsheetlight? Is open-source, with an MIT license.
-
1Microsoft release a compatibility pack for the older versions of excel to use the newer format. But if you need to support office 97 you would still need xls support. – Dreamwalker Oct 31 '14 at 16:48
-
You should add this answer to stackoverflow.com/questions/151005/… since this question is closed as a dupe and it looks like the best solution. – Chris Marisic Aug 11 '15 at 21:30
-
1
-
@WolfOdrade
spreadsheetlight
is the library which in turn usesDocumentformat.OpenXML
. – Kunal Kakkad Dec 28 '15 at 8:08