I know that this line of code will make the cell text-wrap:
$objPHPExcel->getActiveSheet()->getStyle(\'D1\')->getAlignment()->setWrapText(true);
$objPHPExcel->getDefaultStyle()->getAlignment()->setWrapText(true);