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
, 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.
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.