I have where I'm opening an XLSX excel file and it's corrupt. In Excel Interop there is an option to recover the corrupt file but was curious if ClosedXML has an option of recovering a XLSX excel file when attempting to load it in. I'm using the standard C# loading of the excel file:
XLWorkbook workbook = new XLWorkbook(filename)
The error I receive is: "Input string was not in a correct format" at the above statement.
If this has already been logged in the discussion, my apologies.
Thanks for your time!!
XLWorkbook workbook = new XLWorkbook(filename)
The error I receive is: "Input string was not in a correct format" at the above statement.
If this has already been logged in the discussion, my apologies.
Thanks for your time!!