i have problem with php excel,
i want to make new line in one cell but i can\'t, i have tried using \\n or but itsn\'t work. this my code:
<
Improved answer based on Ravin and others
$objPHPExcel ->getActiveSheet() ->setCellValue('H5', "Hello".PHP_EOL." World"); $objPHPExcel ->getActiveSheet() ->getStyle('H5') ->getAlignment() ->setWrapText(true);