T tion I Excel gl i i l l
torial 7 Developing an Excel Applica
u
Protection tab in the rormat Cells dialog box
Format Cells
Locked property .\ NumberAli9nment Font Barden Filt
is turned off for Protection
the selected cells ❑ Hidden
J
Locking cells or hiding formulas has no effect until protect the worksheet (Review tab,C
you
hanges group, Protect Sheet button).
OK Cancel
5. Click the OK button. The cells in the range B3:B12 are unlocked. 0 6.
Select cell Al to deselect the range.
Protecting a Worksheet
When you set up worksheet protection, you specify which actions are still available to
users in the protected worksheet. For example, you can choose to allow users to insert
new rows or columns, or to delete rows and columns. You can limit the user to selecting
only unlocked cells, or allow the user to select any cell in the worksheet. These choices
remain active as long as the worksheet is protected.
A protected worksheet can always be unprotected. You can also add a password
to the protected worksheet that users must enter in order to turn off the protection.
ppe
Passwords are case sensitive, which means the u rcase and lowercase letters are
ed that users
considered different letters. If you are concern will turn off protection and make
use a password; otherwise,
changes to formulas, you should it is probably best to not specify
at if you forget the passw
a password. Keep in mind th ord, it is very difficult to remove the
n.
worksheet protectio