Using any of the column formatting commands, including changing column width or hiding columns ( Home tab, Cells group, Format button). If you applied conditional formats before you protected the worksheet, the formatting continues to change when a user enters a value that satisfies a different condition. By default, users can select unlocked cells, and they can press the TAB key to move between the unlocked cells on a protected worksheet.Ĭhanging any of the options in the Format Cells or Conditional Formatting dialog boxes. Moving the pointer to cells for which the Locked check box is cleared on the Protection tab of the Format Cells dialog box.
By default, users are allowed to select locked cells. Moving the pointer to cells for which the Locked check box is selected on the Protection tab of the Format Cells dialog box. More information about worksheet elements In the Allow all users of this worksheet to list, choose the elements that you want users to be able to change. This time, on the Protection tab, check the Locked box and then click OK. On the worksheet, select just the cells that you want to lock.īring up the Format Cells popup window again (Ctrl+Shift+F). Now, you can choose the cells you specifically want to lock. This unlocks all the cells on the worksheet when you protect the worksheet. In the Format Cells popup, in the Protection tab, uncheck the Locked box and then click OK. You can also press Ctrl+Shift+F or Ctrl+1. On the Home tab, click the Format Cell Font popup launcher. Select the whole worksheet by clicking the Select All button.
#How to lock cells in excel password
If prompted, enter the password to unprotect the worksheet. On the Review tab, click Unprotect Sheet (in the Changes group).Ĭlick the Protect Sheet button to Unprotect Sheet when a worksheet is protected. If the worksheet is protected, do the following: Lock only specific cells and ranges in a protected worksheet
You can lock only specific cells and ranges before you protect the worksheet and, optionally, enable specific users to edit only in specific ranges of a protected sheet. To enable some cell editing, while leaving other cells locked, it's possible to unlock all the cells. Lessīy default, protecting a worksheet locks all cells so none of them are editable.
Worksheet will be locked and cannot be edited.Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 Excel 2007 More. If you protect the sheet now, all the cells in your Then click the “Locked” checkbox to turn it on if it Right-click, and then click Format Cells in the.You’ll have to follow the steps below to lock all cells: However, if some of your cells are locked and others unlocked, Protection without making any changes, and your whole worksheet will become locked Thus, to lock all cells in Excel, just switch on the worksheet Locking all cells is very straight forward since all cells Edit scenarios: The user can use the scenario manager features if this option is checked.Edit objects: If this option is checked, you can make changes to objects (like shapes) and charts, and also insert and delete comments.Use PivotTable & PivotChart: If this option is checked, the user can change the layout of pivot tables or create new pivot tables.Use AutoFilter: The user can use existing auto filtering if this option is checked.Sort: If this option is checked, the user can sort data in a range provided the range doesn’t have a locked cell or cells.
Delete rows: The user can delete rows if this option is checked.Delete columns: The user can delete columns if this is checked.Insert hyperlinks: The user can insert hyperlinks (even in locked cells) if this option is checked.Insert Row: The user can insert a new row if this option is checked.Insert columns: The user can insert a new column if this option is checked.Format rows: The user can hide or change the height of rows if this option is checked.Format columns: The user can hide or change the width of columns if this option is checked.Format cells: The user can format individual cells if this option is checked.If you want to prevent people from selecting the unlocked cells, you’ll have to turn off this checkbox. It allows users of your spreadsheet to select unlocked cells using the keyboard or mouse. Select Unlocked Cells: This option is also selected by default.If you want to prevent people from moving to locked cells, you’ll have to turn off this checkbox. It allows users of your spreadsheet to select locked cells using the keyboard or mouse. Select Locked Cells: This option is selected by default.Here’s is a detailed breakdown of the choices: Thus, when you choose Review→Changes→Protect Sheet, Excel will not carry out the command until you tell it what parts of the sheet you want to protect.