During accessing ".xls" formated excel file using "closed xml" dll following exception is occurred
Exception : Excel may contain corrupted data...
As stated by others, ClosedXML only works with the newer format.
NPOI works with older versions as well. If you use NPOI, make sure that you download the beta from their site. As of Dec 18, 2013 the NuGet download ONLY supports XLS. The beta supports XLS and XLSX
ClosedXML uses the Open XML SDK under the hood which in turn only works with the newer Open XML file format (beginning with Excel 2007).
Therefor ClosedXML doesn't support the older format.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With