Is it possible now to define size of comment box generated with PHPExcel? Or to define its style?
The width
and height
can be changed using setWidth
and setHeight
commands, as follows:
$objPHPExcel->getActiveSheet()->getComment("A1")->setWidth("400px");
$objPHPExcel->getActiveSheet()->getComment("A1")->setHeight("250px");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With