PHPExcel ~ Cell String DataType

some case like '0000222'

output to excel it wiil be 222

to solve this problem ~~~ chage the datatype~

$objPHPExcel->getActiveSheet()->getCell('B1')->setValueExplicit('0000222', PHPExcel_Cell_DataType::TYPE_STRING);


http://phpexcel.codeplex.com/WorkItem/View.aspx?WorkItemId=10600

沒有留言: