Set Background cell color in PHPExcel -


how set specific color active cell when creating xls document in phpexcel?

$sheet->getstyle('a1')->applyfromarray(     array(         'fill' => array(             'type' => phpexcel_style_fill::fill_solid,             'color' => array('rgb' => 'ff0000')         )     ) ); 

source: http://bayu.freelancer.web.id/2010/07/16/phpexcel-advanced-read-write-excel-made-simple/


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -