需要像上图那样打印.
尝试这段代码:
$objPHPExcel->getActiveSheet()->getStyle('B7')->getAlignment()->setTextRotation(90);
参考:
http://phpexcel.codeplex.com/discussions/21676