I know that this line of code will make the cell text-wrap:
$objPHPExcel->getActiveSheet()->getStyle(\'D1\')->getAlignment()->setWrapText(true);
Apply to column
$highestRow = $$objPHPExcel->getActiveSheet()->getHighestRow(); for ($row = 1; $row <= $highestRow; $row++){ $sheet->getStyle("D$row")->getAlignment()->setWrapText(true); }