The code is as follows:
$objPHPExcel->getproperties ()->setcreator ("Maarten Balliauw")
->setlastmodifiedby ("Maarten Balliauw") ->settitle ("Office" XLSX Test Document ") ->setsubject ( Office "xlsx Test Document") ->setdescription ("Test document for Office" XLSX, generated using PHP classes .") ->setkeywords ("Office openxml PHP") ->setcategory ("Test result file");
$objPHPExcel->getactivesheet ()->getcolumndimension (' A ')->setwidth (30);
So set the width, completely invalid, excuse me what is the reason? Look for answers, thank you.
Reply content:
The code is as follows:
$objPHPExcel->getproperties ()->setcreator ("Maarten Balliauw")
->setlastmodifiedby ("Maarten Balliauw") ->settitle ("Office" XLSX Test Document ") ->setsubject ( Office "xlsx Test Document") ->setdescription ("Test document for Office" XLSX, generated using PHP classes .") ->setkeywords ("Office openxml PHP") ->setcategory ("Test result file");
$objPHPExcel->getactivesheet ()->getcolumndimension (' A ')->setwidth (30);
So set the width, completely invalid, excuse me what is the reason? Look for answers, thank you.