29.05.2016 Views

Excel 2010 Tips and Tricks

Create successful ePaper yourself

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

100 Tip 43: Restricting Cursor Movement to Input Cells<br />

Restricting Cursor Movement to Input Cells<br />

A common type of worksheet uses two types of cells: input cells <strong>and</strong> formula cells. The user<br />

enters data into the input cells, <strong>and</strong> the formulas calculate <strong>and</strong> display the results.<br />

Figure 43-1 shows a simple example. The input cells are in the range C4:C7. These cells are used<br />

by the formulas in C10:C13. To prevent the user from accidentally typing over formula cells, it’s<br />

useful to limit the cursor movement so that the formula cells can’t even be selected.<br />

Figure 43-1: This worksheet has input cells at the top <strong>and</strong> formula cells below.<br />

Setting up this sort of arrangement is a two-step process: Unlock the input cells <strong>and</strong> then protect<br />

the sheet. The following specific instructions are for the example shown in Figure 43-1:<br />

1. Select C4:C7.<br />

2. Press Ctrl+1 to display the Format Cells dialog box.<br />

3. In the Format Cells dialog box, click the Protection tab, deselect the Locked check box,<br />

<strong>and</strong> click OK.<br />

By default, all cells are locked.<br />

4. Choose Review➜Changes➜Protect Sheet.<br />

5. In the Protect Sheet dialog box, deselect the Select Locked Cells check box <strong>and</strong> make<br />

sure that the Select Unlocked Cells check box is selected.<br />

6. (Optional) Specify a password that will be required to unprotect the sheet.<br />

7. Click OK.<br />

After you perform these steps, only the unlocked cells can be selected. If you need to make<br />

any changes to your worksheet, you need to unprotect the sheet first, by choosing Review➜<br />

Changes➜Unprotect Sheet.

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

Saved successfully!

Ooh no, something went wrong!