I have form that I generate its content to Excel through PHPExcel, my problem is that how can I set width and height and also styles to the heading cells.
the excel
Try this:
$objPHPExcel->getActiveSheet()->getRowDimension('1')->setRowHeight(40);