Search notes:

Excel Object Model: range.locked

By default, the cells of a (new) worksheet are locked - but they still can be edited. In order to protect locked cells from being edited by a user, the worksheet needs to be protected using Home -> Cells -> Format -> Protect Sheet or Review -> Protect -> Protect Sheet.

See also

The worksheet function cell(protect, reference) allows to determine if a cell is locked.
Setting application.dataEntryMode to xlOn or xlStrict prevents a user from entering data into locked cells of the currently selected Range.
The option contents of worksheet.protect

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758194329, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Excel/Object-Model/Range/locked/index(42): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78