Issue with duplicateStyle in version 1.7.9?

Sep 18, 2013 at 1:04 PM
Edited Sep 18, 2013 at 2:57 PM
Hi all
I've update PHPExcel version to 1.7.9. Then i have an issue with duplicateStyle function. The function does not replace the correct style in cells destination.

$tmp_style = $objPHPExcel->getActiveSheet()->getStyle("H3");
$objPHPExcel->getActiveSheet()->duplicateStyle($tmp_style, "C2:C7");

In H3 I've a blue cell with white font. The result is in the range C2:C7 the class replace che style with the default excel bgcolor (transparent) and font to black.

What can I do?
Sep 18, 2013 at 3:18 PM
I'm also having the same issue. Using Excel2007, duplicating a style from an external template - doing 1 cell causes the whole spreadsheet to get that style and go wonky...
Sep 18, 2013 at 3:54 PM
Try with the latest develop branch from github, I fixed this problem a few weeks ago