require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
$PHPReader = new PHPExcel_Reader_Excel2007();
$PHPExcel = $PHPReader->load('./sndemo.xlsx') ;
$currentSheet = $PHPExcel->getSheet(0);
$currentSheet->setCellValue('A28','CPU使用率:');//表头赋值//

//保存可保不同文件名,格式不变
$objWriter = new PHPExcel_Writer_Excel2007($PHPExcel,'PDF');
$objWriter->save('./sndemo1.xlsx');
dump($PHPExcel);