There's pretty much just two reasons for locking cells:
To restrict entry (locked cells may not be changed)
To allow tabbing to different cells for entry (unlocked cells can be
The points you should know are these:
All cells are locked by default
Cell locking doesn't take effect until you protect your worksheet (ToolsàProtectionàProtect
Sheet to "lock" or ToolsàProtectionàUnprotect
Sheet to "unlock")
If you want most cells locked, then only unlock those you want users to be
able to change
If you want most cells unlocked, then unlock them all first, and then lock
only those you want prohibit users from changing
Select All Cells
Just click the button above Row 1 and to the left of Column A. This selects
all the cells on your worksheet.
Go to FormatàCells. Choose the
Protection tab. Lock or unlock the cells as desired.
You can quickly lock/unlock cells by locking or unlocking one or
more cells, then continue by using the F4 button, which repeats the last
command. So, while you may have 30 different cells on a worksheet that you want
to unlock, you can select, F4, select, F4...
MrExcel.com provides examples of Formulas, Functions and Visual Basic procedures
for illustration only, without warranty either expressed or implied, including
but not limited to the implied warranties of merchantability and/or fitness for
a particular purpose. The Formulas, Functions and Visual Basic procedures on
this web site are provided "as is" and we do not guarantee that they can be used
in all situations.
Access®, Excel®, FrontPage®, Outlook®, PowerPoint®, Word® are registered
trademarks of the Microsoft Corporation.
MrExcel® TM is a registered trademark of Tickling Keys, Inc.