this is what worked for me
$objPHPExcel->getActiveSheet()->getStyle('H'.($current_row + 28))->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_NUMBER_00);
php excel ->getNumberFormat()->setFormatCode
what does PHPExcel_Style_NumberFormat::FORMAT_NUMBER_00 mean
I've seen other solutions but the above worked perfectly for me.
thank you for the help . .
ReplyDeletethank you for this code snippet it, helped me . .
ReplyDelete