Office Settings & Configuration

How to Fix Excel Protected Sheet Settings Resetting After Restart

Ayan MasoodAyan Masood Oct 23, 2026 869 views

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.

How to Fix Excel Protected Sheet Settings Resetting After Restart
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 you start

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.

Solution 1Recommended

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.

1
Enable AutoFilter first

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.

2
Open Allow Edit Ranges

Navigate to the 'Review' tab on the ribbon and click on 'Allow Edit Ranges' (or 'Allow Users to Edit Ranges' in some versions).

3
Create a permitted range

Click the 'New' button, specify the range of cells you want users to be able to sort or edit, and click 'OK'.

4
Protect the sheet

From the same dialog box, click the 'Protect Sheet' button (or select 'Protect Sheet' directly from the 'Review' tab).

5
Enable specific permissions

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'.

6
Verify the settings

Save your workbook, close Excel entirely, and reopen the file to verify that the AutoFilter and sorting features remain fully functional.

Configure 'Allow Edit Ranges' and Reapply Sheet Protection
AutoFilter Prerequisite: AutoFilter must be turned on for the target range before you protect the worksheet. If you protect the sheet first and just check 'Use AutoFilter', the filter buttons will remain disabled.
Seamless Spreadsheet Protection

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. 1. Open your workbook: Launch WPS Spreadsheet, open your file, and select the data range you wish to filter or edit.
  2. 2. Define editable areas: Navigate to the 'Review' tab and click on 'Allow Users to Edit Ranges' to add your permitted cell ranges.
  3. 3. Apply protection: Click 'Protect Sheet' located within the 'Review' tab.
  4. 4. Configure permissions: Check the options for sorting and AutoFilter in the list, set a secure password, and click 'OK'.
Free to use with a familiar, user-friendly interfaceFully compatible with Microsoft Excel (.xlsx) formats and protection passwordsPrecise and stable control over worksheet protection, sorting, and filteringLightweight application that runs smoothly on all major operating systems
microsoft office alternative - wps office

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.