Microsoft KB Archive/214081

= XL: How to Lock Individual Cells in a Worksheet =

Article ID: 214081

Article Last Modified on 7/4/2007

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft Excel 97 Standard Edition
 * Microsoft Excel 2001 for Mac
 * Microsoft Excel 98 for Macintosh

-



This article was previously published under Q214081





SUMMARY
This article describes how to lock individual cells in a Microsoft Excel worksheet. The procedure to use depends on whether you want the majority of the cells on the worksheet to remain locked or unlocked.

NOTE: If you lock a cell and protect the worksheet, then you cannot type data into the cell, modify the data currently in the cell, or change other attributes of the cell (such as cell formatting).



MORE INFORMATION
To unlock individual cells in an Excel worksheet, use either of the following procedures.

If You Want the Majority of Cells Locked
To lock the majority of the cells on the worksheet, follow these steps:
 * 1) Select the cells that you want to remain unprotected. To select nonadjacent (noncontiguous) cells, hold down CTRL and click the cells that are to remain unprotected.
 * 2) On the Format menu, click Cells, and then click the Protection tab.
 * 3) Click to clear the Locked check box and click OK.
 * 4) On the Tools menu, point to Protection, and then click Protect Sheet. Type a password if you want one, and then click OK.

If You Want the Majority of Cells Unlocked
To leave the majority of the cells on the worksheet unlocked, follow these steps:
 * 1) Select the entire worksheet by clicking the Select All button (the gray rectangle in the upper-left corner of the worksheet where the row 1 and column A headings meet), or by pressing CTRL+A or CTRL+SHIFT+SPACEBAR.
 * 2) On the Format menu, click Cells, and then click the Protection tab. Click to clear the Locked check box and click OK.
 * 3) Select the cells that you want to protect. To select nonadjacent (noncontiguous) cells, hold down CTRL and click the cells that you want to protect.
 * 4) On the Format menu, click Cells, and then click the Protection tab. Click to select the Locked check box, and then click OK.
 * 5) On the Tools menu, point to Protection, and then click Protect Sheet. Type a password, if you want one, and then click OK.

