您可以使用PHPspreadsheet更改.xlsx文件中单元格的颜色吗?在其功能列表或堆栈溢出中找不到任何内容。
尝试在此处查看此链接
$spreadsheet->getActiveSheet()->getStyle('B2')
->getFont()->getColor()->setARGB(\PhpOffice\PhpSpreadsheet\Style\Color::COLOR_RED);
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句