Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Opening XLSX file that is corrupt. Is there a recovery like Excel Interop option in ClosedXML?

$
0
0
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!!

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>