Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: Format Error by opening File in Excel 2010 generated with ExcelWriter2007

$
0
0
Hi,

I developed a little export function by using PHPExcel latest version 1.7.9
The problem is that I have in a column data values which looks like
12345.10
12345.B
Generating the excel table by using SetCellValue() setting the format by getStyle()->getNumberFormat()->setFormatCode() seems to convert the dot to comma, so when opening the generated file the values are looking that way:
12345,10
12345,B
I used the IOFactory.php and also the PHPExcel_Writer_Excel2007 to instanciate a writer for excel 2007 but open it in Excel 2010.
Is this a possible failure or do I something wrong?

Many thanks

Viewing all articles
Browse latest Browse all 2707

Trending Articles



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