I am using PHPExcel v1.8.0
and am trying to add html
tags with PHPExcel
.
Since there's no PHPExcel_Helper_HTML
class available with this version, I need to guess I've to rely on PHPExcel_RichText
.
What's the PHPExcel_RichText
equivalence to the following:
$html = '<ul>';
foreach ($someArr as $key => $value) {
$html .= '<li>'.$value.'</li>';
}
$html .= '</ul>';
$objPHPExcel->getActiveSheet()->setCellValue('I'.$rowID, $this->richText($html));