摘要:
$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true); $objPHPExcel->getActiveSheet()->protectCells('A1:'. $w_str . "2", 'PHPExcel'); $objPHPExcel->getActiveSheet()->getStyle('B3:' . $str.$h)->getProtection()->setLocked(PHPExcel_ 阅读全文