enclose the currency symbol in double quote (")
like this:
a. if u enclosed the format pattern in double quote, escape it by adding backslash before the double quote that enclosed ur format symbol
like this:
a. if u enclosed the format pattern in double quote, escape it by adding backslash before the double quote that enclosed ur format symbol
$objPHPExcel->getActiveSheet()->getStyle('G14')->getNumberFormat()->setFormatCode(" \"€\" #,##0.00");
b. if u enclosed the format pattern in single quote$objPHPExcel->getActiveSheet()->getStyle('G14')->getNumberFormat()->setFormatCode(' "€" #,##0.00');
whatever option above u chose, the result will be like this: € 3,999.22