Hi all,
Please help me about my doubts on excel and php. I need to do the following process on excel report generation using php
- to change cell's font styles
- to change cell's BG color
- to change cell's width
Hi all,
Please help me about my doubts on excel and php. I need to do the following process on excel report generation using php
With PHPExcel
With PEAR Spreadsheet Excel Writer
Format::setBgColor
– Sets the cell's background colorFormat::setFontFamily
– Sets the font family.Worksheet::setColumn
– Set the width of a single column or a range of columns.Try PHPExcel. I started using it few days ago and it works very good.
I'd definitely recommend PHPExcel as well, and it may well supercede the SEW within the PEAR repository