Excel 2007 For Dummies
Book image
Explore Book Buy On Amazon

After you finalize an Excel 2007 worksheet by reviewing formulas and proofing text, you should consider protecting the document to guard against any unplanned changes. Each cell in the worksheet can be locked or unlocked. By default, Excel locks all the cells in a protected worksheet, and then you can specify which cells you want to unlock for editing (if any).

Protecting cells

Follow these steps to protect cells in the worksheet:

  1. Click the Protect Sheet command button in the Changes group on the Review tab.

    Excel opens the Protect Sheet dialog box in which you select the options you want to be available when the worksheet protection is enabled. By default, Excel selects the Protect Worksheet and Contents of Locked Cells check box.

    Select protection settings in the Protect Sheet dialog box.
    Select protection settings in the Protect Sheet dialog box.
  2. (Optional) Select any of the check boxes in the Allow All Users of This Worksheet To list box (such as Format Cells or Insert Columns) that you still want to be functional when the worksheet protection is operational.

    The Select Locked Cells and Select Unlocked Cells check boxes are selected by default, but you can deselect either or both of these options if you prefer.

  3. If you want to assign a password that must be supplied before you can remove the protection from the worksheet, type the password in the Password to Unprotect Sheet text box.

  4. Click OK.

    If you typed a password in Step 3, Excel opens the Confirm Password dialog box. Re-enter the password in the Reenter Password to Proceed text box exactly as you typed it previously and then click OK. Notice that if you try to edit a cell, Excel displays an error message.

To remove worksheet protection, click the Unprotect Sheet button in the Changes group on the Review tab. You’ll be prompted to type the password if you previously set one.

Unlocking cells

Usually, your intention in protecting cells is not to prevent all changes but to prevent changes in certain areas of the worksheet. For example, in a budget worksheet, you may want to allow changes only in the cells where you enter the budgeted amounts. That way, you can’t inadvertently wipe out a title or formula in the worksheet by entering a value in the wrong column or row.

To unlock cells in a worksheet, follow these steps:

  1. If the worksheet is protected, click the Unprotect Sheet button in the Changes group on the Review tab (type the password, if prompted).

  2. Select the cells you want to unlock.

    These are the cells you want to allow users to edit when the worksheet is protected.

  3. Press Ctrl+1 to open the Format Cells dialog box and click the Protection tab.

    Use the Protection tab in the Format Cells dialog box to unlock cells.
    Use the Protection tab in the Format Cells dialog box to unlock cells.
  4. Click the Locked check box on the Protection tab to remove its check mark.

  5. Protect the worksheet (refer to the previous section).

    All cells in the worksheet are now protected except the cells you unlocked.

About This Article

This article is from the book:

About the book author:

Greg Harvey has authored tons of computer books, the most recent being Excel Workbook For Dummies and Roxio Easy Media Creator 8 For Dummies, and the most popular being Excel 2003 For Dummies and Excel 2003 All-In-One Desk Reference For Dummies. He started out training business users on how to use IBM personal computers and their attendant computer software in the rough and tumble days of DOS, WordStar, and Lotus 1-2-3 in the mid-80s of the last century. After working for a number of independent training firms, Greg went on to teach semester-long courses in spreadsheet and database management software at Golden Gate University in San Francisco.
His love of teaching has translated into an equal love of writing. For Dummies books are, of course, his all-time favorites to write because they enable him to write to his favorite audience: the beginner. They also enable him to use humor (a key element to success in the training room) and, most delightful of all, to express an opinion or two about the subject matter at hand.
Greg received his doctorate degree in Humanities in Philosophy and Religion with a concentration in Asian Studies and Comparative Religion last May. Everyone is glad that Greg was finally able to get out of school before he retired.

This article can be found in the category: