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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -