I want to protect particular cell content from being amended. When I tried to protect whole sheet, no problem.
$sheet->getProtection()->setSheet(true)->setDeleteRows(true);
But, could not set protection for individual cell. I tried the following codes.
1
$sheet->protectCellsByColumnAndRow(0, 1, 100, 100, 'asdf');
2
$sheet->protectCells('A1','password',false);
Thanks in advance.