How to Lock Freeze Panes in a Shared Excel Workbook
Question details
The user wants to permanently set freeze panes in a shared workbook to prevent other users from unfreezing or altering the view, while still allowing data entry in specific areas.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Sharing a workbook with multiple users where a consistent frozen layout is required for data entry without unauthorized view changes.
- Observed behavior
- Users are able to unfreeze and change the freeze pane settings in the shared workbook, causing confusion and collaboration delays.
Before applying worksheet protection, ensure your freeze panes are set exactly where you want them, as you will need to unprotect the entire sheet later to adjust the frozen layout.
Use Worksheet Protection to Lock the Layout
Lock the freeze pane configuration by protecting the entire worksheet after unlocking the specific cells that users need to edit.
By default, protecting an Excel sheet prevents users from making structural or layout changes, including adjusting freeze panes. To ensure users can still input data, you must unlock their target cells before applying the protection.
Navigate to the View tab on the ribbon, click 'Freeze Panes', and select the appropriate option to freeze your desired rows and columns.
Highlight all the specific cells or ranges where you want other users to be able to enter or edit data.
Press Ctrl+1 to open the Format Cells dialog box. Switch to the Protection tab, clear the 'Locked' check box, and click OK.
Go to the Review tab and click 'Protect Sheet'. Choose the actions you want to allow users to perform, enter a password if desired, and click OK to enforce the protection.

Hide Unused Rows and Columns
If worksheet protection is bypassed in web environments, you can restrict the visible area by hiding unused rows and columns as a supplementary workaround.
Lock Freeze Panes and Protect Worksheets with WPS Spreadsheet
WPS Office offers a robust desktop Spreadsheet application where you can easily freeze panes, unlock specific editable cells, and enforce worksheet protection with password security. This ensures your layout remains intact when sharing files.
- 1. Freeze desired panes: Open your document in WPS Spreadsheet, navigate to the View tab, and click 'Freeze Panes' to set your layout.
- 2. Unlock target cells: Select the cells users are allowed to edit, right-click to choose 'Format Cells', navigate to the Protection tab, and uncheck 'Locked'.
- 3. Apply sheet protection: Go to the Review tab, click 'Protect Sheet', choose your specific permissions, set a secure password, and click OK.

Frequently Asked Questions
Can I lock freeze panes without protecting the whole sheet?
No, Excel does not have a dedicated feature to lock only the freeze panes independently. You must use the Protect Sheet feature, which inherently locks structural and layout changes, including freeze panes.
Why do freeze panes keep changing when multiple people edit online?
In Excel for the Web and during live co-authoring, view settings like freeze panes are often user-specific or cannot be strictly enforced through protection. This allows users to temporarily change their own view without affecting the master file layout for others.
Does worksheet protection prevent users from formatting cells?
By default, protecting a sheet prevents formatting changes. However, when setting up Protect Sheet from the Review tab, you can explicitly check 'Format cells' in the permissions list to allow users to adjust formatting while keeping the freeze panes locked.




