How can I print text vertically in a cell using PHPExcel class ?
need to print like the above figure.
I think you can do by rotating text:
Try this code:
$objPHPExcel->getActiveSheet()->getStyle('B7')->getAlignment()->setTextRotation(90);
Reference:
http://phpexcel.codeplex.com/discussions/21676
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