Allow specific users to edit ranges in a protected worksheet
NOTE: This command is available only when the worksheet is not protected.
2. Do one of the following:
- To modify an existing editable range, select it in the Ranges unlocked by a password when sheet is protected box, and then click Modify.
- To delete an editable range, select it in the Ranges unlocked by a password when sheet is protected box, and then click Delete.
- To add a new editable range, follow next steps:
1. Click New to open dialog box:
2. In the Title box, type the name for the range that you want to unlock.
3. In the Refers to cells box, type an equal sign (=), and then type the reference of the range that you want to unlock. You can also click the Collapse Dialog button, select the range in the worksheet, and then click the Collapse Dialog button again to return to the dialog box.
4. In the Range password box, type a password that allows access to the range. The password is optional. If you don't supply a password, then any user can edit the cells.
5. Click Permissions to open dialog box:
6. Add users that you want to be able to edit the ranges or remove them, and then click OK three times.
3. After all changes, in the Allow Users to Edit Ranges dialog box, click the Protect Sheet... button to open the Protect Sheet dialog box:
4. In the Allow all users of this worksheet to list, select the elements that you want users to be able to change.
- 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. By default, users are allowed to select locked cells
- Select unlocked cells - 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 unlocked cells, and they can press the TAB key to move between the unlocked cells on a protected worksheet
- Format cells - Changing any of the options in the Format Cells or Conditional Formatting dialog boxes. 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
- Format columns - Using any of the column formatting commands, including changing column width or hiding columns (Home tab, Cells group, Format button)
- Format rows - Using any of the row formatting commands, including changing row height or hiding rows (Home tab, Cells group, Format button)
- Insert columns - Inserting columns
- Insert rows - Inserting rows
- Insert hyperlinks - Inserting new hyperlinks, even in unlocked cells
- Delete columns - Deleting columns
NOTE: If Delete columns is protected and Insert columns is not also protected, a user can insert columns that he or she cannot delete
- Delete rows - Deleting rows
NOTE: If Delete rows is protected and Insert rows is not also protected, a user can insert rows that he or she cannot delete
- Sort - Using any commands to sort data (Data tab, Sort & Filter group)
NOTE: Users can't sort ranges that contain locked cells on a protected worksheet, regardless of this setting
- Use AutoFilter - Using the drop-down arrows to change the filter on ranges when AutoFilters are applied
NOTE: Users cannot apply or remove AutoFilters on a protected worksheet, regardless of this setting
- Use PivotTable reports - Formatting, changing the layout, refreshing, or otherwise modifying PivotTable reports, or creating new reports
- Edit objects - Doing the any of the following:
- Making changes to graphic objects-including maps, embedded charts, shapes, text boxes, and controls-that you did not unlock before you protected the worksheet. For example, if a worksheet has a button that runs a macro, you can click the button to run the macro, but you cannot delete the button.
- Making any changes, such as formatting, to an embedded chart. The chart continues to be updated when you change its source data.
- Adding or editing comments.
- Edit scenarios - Viewing scenarios that you have hidden, making changes to scenarios that you have prevented changes to, and deleting these scenarios. Users can change the values in the changing cells, if the cells are not protected, and add new scenarios
5. In the Password to unprotect sheet box, type a password for the sheet, click OK, and then retype the password to confirm it.
NOTE: The password is optional. If you don't supply a password, then any user can unprotect the sheet and change the protected elements. Make sure that you choose a password that is easy to remember, because if you lose the password, you cannot gain access to the protected elements on the worksheet.
Permission is granted for article quotations from the OfficeToolTips website, provided the direct link to the source articlehttp://www.officetooltips.com/excel 2010/tips/allow specific users to edit ranges in a protected worksheet.html