18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Protecting Your Work 31<br />

want the user to be able to change the input cells, but not the formula cells. Every cell has a Locked attribute,<br />

and that attribute determines whether the cell can be changed when the sheet is protected.<br />

By default, all cells are locked. To change the locked attribute, select the cell or range and then use the<br />

Protection tab of the Format Cells dialog box (see Figure 31.2). To display this dialog box, right-click the<br />

cell or range and choose Format Cells from the shortcut menu (or press Ctrl+1). Remove the check mark<br />

from Locked and click OK.<br />

FIGURE 31.2<br />

Use the Protection tab in the Format Cells dialog box to change the Locked attribute of a cell or range.<br />

The Protection tab of the Format Cells dialog box has another attribute: Hidden. If checked,<br />

the contents of the cell don’t appear in the Formula bar when the sheet is protected. The cell<br />

isn’t hidden in the worksheet. You may want to set the Hidden attribute for formula cells to prevent users<br />

from seeing the formula when the cell is selected.<br />

NOTE<br />

After you unlock the desired cells, choose Review ➪ Changes ➪ Protect Sheet to protect the sheet. After<br />

doing so, you can change the unlocked cells, but if you attempt to change a locked cell, Excel displays the<br />

dialog box shown in Figure 31.3.<br />

FIGURE 31.3<br />

Excel warns you if you attempt to change a locked cell.<br />

541

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!