I am trying to get a line style, for example. ("A3: V3"), pass it to the array, and then use this array with the applyFromArray(); function applyFromArray(); .
Here is what I tried:
$objPHPExcel = $objReader->load($inputFileName); $sheet = $objPHPExcel->getActiveSheet(); $style = $sheet->getStyle("A3:V3"); $sheet->getStyle("A$totalRows:V$totalRows")->applyFromArray($style);
This results in an "Invalid style array" error .
Is there any workaround for this?
source share