Hello All,

I'm using PHP excel library to export data and I'm facing one issue. I want to formatting bold style (part of text in the column) with wordwrap.

Below are the my code:
$objPHPExcel = new PHPExcel();

$htmlHelper = new \PHPExcel_Helper_HTML();

$objPHPExcel->getActiveSheet()->getStyle($column.$row)->getAlignment()->setWrapText(true);
$rich_text = $htmlHelper->toRichTextObject('Lorem Ipsum is simply dummy text of the printing and <b>typesetting industry</b>. Lorem Ipsum has been the industry's standard dummy text ever since the <b>1500s</b>, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged');
$objPHPExcel->getActiveSheet()->setCellValue('A1', $rich_text);


Kindly please help me.

Thanks in advance.