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
Post a Comment