How to Fix Excel Protected Sheet Settings Resetting After Restart
Question details
Users experience an issue where Excel worksheet protection settings for sorting, formatting, and AutoFilter do not persist or work properly after the workbook is restarted.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Configuring worksheet protection while attempting to allow specific user actions like formatting, sorting, and using AutoFilter on specific data ranges.
- Observed behavior
- The configured protection permissions reset or fail to function after reopening the workbook because the ranges and filters were not correctly initialized before applying protection.
Before modifying your worksheet protection settings, ensure you know the current password used to protect the sheet, as you will need it to unprotect the document and adjust the allowed ranges.
Configure 'Allow Edit Ranges' and Reapply Sheet Protection
To ensure your AutoFilter and sorting settings persist, you must define permitted ranges and enable filters before applying sheet protection.
Excel requires that AutoFilter is actively applied to the data range before the sheet is protected. Additionally, for sorting to function on a protected sheet, the specific cells must be unlocked or defined in the 'Allow Edit Ranges' menu.
Unprotect your sheet if it is currently protected. Select the intended data range, go to the 'Data' tab, and click 'Filter' to enable the AutoFilter dropdowns.
Navigate to the 'Review' tab on the ribbon and click on 'Allow Edit Ranges' (or 'Allow Users to Edit Ranges' in some versions).
Click the 'New' button, specify the range of cells you want users to be able to sort or edit, and click 'OK'.
From the same dialog box, click the 'Protect Sheet' button (or select 'Protect Sheet' directly from the 'Review' tab).
In the Protect Sheet dialog, scroll through the list and check the boxes for 'Format cells', 'Sort', and 'Use AutoFilter'. Enter a password and click 'OK'.
Save your workbook, close Excel entirely, and reopen the file to verify that the AutoFilter and sorting features remain fully functional.

Easily Protect Sheets and Manage Permissions in WPS Spreadsheet
WPS Spreadsheet offers a highly compatible and intuitive interface for managing worksheet protection. You can easily set up allowed edit ranges and specify precise user permissions without worrying about settings resetting or failing after a restart.
- 1. Open your workbook: Launch WPS Spreadsheet, open your file, and select the data range you wish to filter or edit.
- 2. Define editable areas: Navigate to the 'Review' tab and click on 'Allow Users to Edit Ranges' to add your permitted cell ranges.
- 3. Apply protection: Click 'Protect Sheet' located within the 'Review' tab.
- 4. Configure permissions: Check the options for sorting and AutoFilter in the list, set a secure password, and click 'OK'.

Frequently Asked Questions
Why is the AutoFilter greyed out even when I allowed it in Protect Sheet?
If AutoFilter was not enabled on the data range before the sheet was protected, the option will remain inactive even if you check 'Use AutoFilter' in the protection settings. You must unprotect the sheet, apply the filter from the Data tab, and then re-protect the sheet.
Can I allow users to sort data on a protected sheet without giving them the password?
Yes. When you set up sheet protection, check the 'Sort' option in the list of allowed actions. However, ensure that the cells containing the data are either unlocked or included in the 'Allow Edit Ranges' list, otherwise Excel will still block the sorting action.
Will WPS Office open my protected Excel workbook?
Yes, WPS Office is fully compatible with Excel files (.xlsx and .xls). It will recognize your protected sheets and prompt you for the standard password if you need to unprotect or edit restricted ranges.




