Save as breaks the document

Jun 21, 2011 at 12:34 PM


I use closedxml v 0.55.0

I open an xlsx file, then I call the saveas method

when I open the saved file I have an error

  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
- <recoveryLog xmlns="">
  <summary>Errors were detected in file 'C:\Documents and Settings\beauvois\My Documents\FiatLux\FAAT\Reports\Dexia Quant\LU5279 DEXIA QUANT EQUITIES - WORLD\20100101-20101231\NAV_FLUCTUATION_ANALYSIS_[bd7bbd54-bfaf-48f1-b321-4a1ba859163b].xlsx'</summary> 
- <removedParts summary="Following is a list of removed parts:">
  <removedPart>Replaced Part: /xl/worksheets/sheet4.xml part with XML error. Load error. Line 1, column 58050.</removedPart> 


It's with one specific file, It works well for other files.

do you have an idea to help me?


Jun 21, 2011 at 2:38 PM

Hi again,

I found that it's happening with files with conditional formatting.

If I remove the conditional formatting from my input file it works.

Can you help me to make it work with files using formatting ?

Jun 21, 2011 at 3:09 PM

I can open and save files with conditional formatting. Please create an entry on the Issue Tracker tab and attach a file that gets corrupted when you open it and save it back.

Jun 22, 2011 at 7:50 AM

Ok thanks