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

Created Unassigned: Multiple save() causes cell formating to break [9487]

$
0
0
Scenario:

1. Open excel file from file and add DateTime to A1.
2. Call Save() for 50 times.
3. Open file in Excel. I see double instead of datetime.


Each call to Save() adds next entry to <x:numFmts>, <x:fonts>, <x:fills> in stylex.xml
Entries in x:numFmts have numFmtId from 0 to 49 and each one has empty formatCode. This overrides built-in cell formats and causes behavior described above.



Viewing all articles
Browse latest Browse all 1877

Latest Images

Trending Articles



Latest Images

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