How to Limit Excel Users to Specific Rows or Editing Ranges
Question details
The user needs to restrict editing access in an Excel workbook so that specific users can only modify designated rows or ranges.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Sharing a workbook with multiple users where each user should only be able to modify their specific sections.
- Observed behavior
- The user wants to configure range-specific permissions and ensure these restrictions remain active when the file is opened in Excel for the web.
Ensure you have the Microsoft Excel desktop application installed, as the initial setup for allowing users to edit specific ranges must be configured in the desktop app before uploading to the web.
Use 'Allow Users to Edit Ranges' and Protect Sheet
Configure specific range permissions in the Excel desktop app and protect the sheet before sharing it via OneDrive.
To restrict users to specific rows or columns, you must combine the 'Allow Users to Edit Ranges' feature with sheet protection. This setup guarantees that only authorized users can edit defined areas, while the rest of the worksheet remains locked.
Open your workbook in the Excel desktop app. Navigate to the 'Review' tab on the top ribbon.
Click on 'Allow Users to Edit Ranges' in the Protect group. If this button is grayed out, ensure your sheet is unprotected first.
Click 'New' in the dialog box. Give the range a title, select the specific cells or rows you want to allow editing for, and assign a range password if needed.
Click the 'Permissions' button to specify exactly which Windows users or groups can edit this range without entering the password, then click OK.
Click the 'Protect Sheet' button located in the same dialog box or on the Review tab. Enter a master password for the sheet and click OK.
Save your workbook to OneDrive and share the file link. The editing restrictions will remain enforced when users open the document in a web browser.

How to Protect Specific Ranges in WPS Spreadsheet
WPS Office offers robust spreadsheet protection tools, allowing you to easily lock your worksheets while granting specific users access to designated ranges. It is highly compatible with Microsoft Excel formats.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your spreadsheet file.
- 2. Navigate to the Review Tab: Click on the 'Review' tab located on the top ribbon menu.
- 3. Set Allow Users to Edit Ranges: Click 'Allow Users to Edit Ranges', then click 'New' to define the cells that certain users are allowed to edit, and set a specific password.
- 4. Protect the Sheet: Click 'Protect Sheet' to lock all other cells in the document with a master password.
- 5. Save and Share: Save your file as an .xlsx format and share it. The range restrictions will be preserved perfectly.

Frequently Asked Questions
Can I set up 'Allow Users to Edit Ranges' directly in Excel for the web?
No, you must set up the ranges and protect the sheet in the Excel desktop application. Once configured and uploaded to OneDrive, the protections will function normally in Excel for the web.
What happens if a user tries to edit a locked cell outside their designated range?
The user will receive an error message stating that the cell or chart they are trying to change is on a protected sheet and cannot be modified.
Do users need a password to edit their designated range?
It depends on your settings. You can configure the range to require a password, or you can use the Permissions button to grant specific users access to edit the range without a password.
Can I allow different users to edit different rows in the same sheet?
Yes, you can create multiple ranges in the 'Allow Users to Edit Ranges' dialog. You can assign different passwords or user permissions to each specific row or range.




