mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 13:26:07 +03:00
Documentation (jamescostian) GH-234 - Fixed some malformed Markdown
This commit is contained in:
parent
f3755a0965
commit
aa660150ae
@ -731,8 +731,13 @@ An example on setting cell security:
|
|||||||
$objPHPExcel->getActiveSheet()->getStyle('B1')
|
$objPHPExcel->getActiveSheet()->getStyle('B1')
|
||||||
->getProtection()
|
->getProtection()
|
||||||
->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);
|
->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);
|
||||||
|
```
|
||||||
|
|
||||||
__Make sure you enable worksheet protection if you need any of the worksheet protection features!__ This can be done using the following code: $objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);
|
__Make sure you enable worksheet protection if you need any of the worksheet protection features!__ This can be done using the following code:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);
|
||||||
|
```
|
||||||
|
|
||||||
### Setting data validation on a cell
|
### Setting data validation on a cell
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user