Hello,
I'm trying to format the cells with this code.
The format code with an arrow is not apply to my cells.
The font color is OK but the format code seems not working.
How can I do that with conditional formatting ?
I'm trying to format the cells with this code.
The format code with an arrow is not apply to my cells.
The font color is OK but the format code seems not working.
How can I do that with conditional formatting ?
$objConditional = new \PHPExcel_Style_Conditional();
$objConditional->setConditionType(\PHPExcel_Style_Conditional::CONDITION_EXPRESSION);
$objConditional->setOperatorType(\PHPExcel_Style_Conditional::OPERATOR_NONE);
$objConditional->addCondition($conditionSup);
$objConditional->getStyle()->getFont()->getColor()->setRGB('27ae60');
$objConditional->getStyle()->getFont()->setBold(true);
$objConditional->getStyle()->getNumberFormat()->setFormatCode('▲0%');
thanks