Quantcast
Channel: npoi Discussions Rss Feed
Viewing all articles
Browse latest Browse all 637

New Post: Excel found unreadable content in filename.xls

$
0
0
Yes, thekg, there is a workaround.

The worksheet XML that is being written has the wrong decimal separator ("," instead of "."). (Unzip the xlsx and find the xl\worksheets\worksheet1.xml file, find the pagemargin info)

Seems like your Windows on a locale other than EN. As is mentioned in the post here, setting your culture info to EN... before writing the xml streams will make sure that all decimal numbers are being written in the correct format, i.e. with a "." as a decimal separator.

@tonyqus:
Is there another way to make sure the XML is being written correctly on any international system? Not many countries use "." as a decimal separator.

Viewing all articles
Browse latest Browse all 637

Latest Images

Trending Articles



Latest Images

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