📜  phpspreadsheet 编辑 excel 文件 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:45.686000             🧑  作者: Mango

代码示例1
getActiveSheet();
$sheet->setCellValue('A1', 'New Value');

//write it again to Filesystem with the same name (=replace)
$writer = new Xlsx($spreadsheet);
$writer->save('yourspreadsheet.xlsx');