2

While Reading Excel file in php using PHPExcel Library, i can read the font value of a cell whether it is strike through or not using below code

foreach($sheetData[$row] as $key=>$value){

$array_key=$key.$row;
$sheetStrikeThrough[$row][$key]=$objPHPExcel->getActiveSheet()->getStyle($array_key)->getFont()->getStrikethrough();} 

BUT

if a cell have multiple values separated by comma (,) i.e VAL1, VAL2, VAL3 and only VAL2 is strikeThrough then this library doesn't read the cell as strikeThrough.

How i can find the strikThrough value in a cell even if complete cell isn't strikeThrough then too.

0 Answers0