Blogger Information
Blog 51
fans 0
comment 1
visits 64950
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
PHPExcel增加工作表
鱼的熊掌
Original
1115 people have browsed it
  1. $PHPExcel = new \PHPExcel();
  2. // 添加工作表
  3. $objWorkSheet = $PHPExcel->createSheet();
  4. // 设置工作表下标
  5. $PHPExcel->setActiveSheetIndex(1);
  6. // 新增的工作表设置工作表标题
  7. $PHPExcel->getSheet(1)->setTitle('新工作表标题');
  8. $PHPExcel->getSheet(1)->setCellValue('A1', '设置A1内容');
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post