This project has moved. For the latest updates, please go here.

File contains corrupted data

Apr 15, 2011 at 12:21 AM
Edited Apr 15, 2011 at 12:22 AM

Hi,

I just downloaded closedXML so I'm trying to get used to it. I tried to open an already existing excel file (.xls). I just created an excel file. Nothing in it...

When i tried to open it with this line :

var workbook = new XLWorkbook(excelFilePath); 

excelFilePath contains the property filename of the openFileDialog wich is "C:\\Classeur1.xls"

I get this error ont the line stated earlier: File contains corrupted data.



Thank you

Coordinator
Apr 15, 2011 at 1:42 AM

Please create an entry in the Issue Tracker tab and attach the file you're trying to load. Please include your locale.

Thanks,

Coordinator
Apr 15, 2011 at 3:48 AM

The file you're trying to open is for an older version of Excel. ClosedXML only works with Excel 2007/2010 files. I don't think it will ever support .xls files.

Sorry.

Oct 28, 2011 at 12:51 PM

Please make converter function

Coordinator
Oct 28, 2011 at 4:32 PM

Not going to happen.