Answer the question
In order to leave comments, you need to log in
How to protect some cells in excel file using PHPExcel?
Hello everyone, people, can you tell me how to protect some cells in the generated excel document so that they cannot be edited?
I'm trying to do this:
$sheet->protectCells('A' . $sheet->getHighestRow(), $password);
$sheet->getProtection()->setSheet(true);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question