How to Protect Excel Hyperlink Cells from Deletion While Allowing Access
Question details
The user needs to protect cells containing hyperlinks from being deleted or modified without losing the ability to click the links, sort, or filter the worksheet.

- Product
- Microsoft Excel / WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Securing a worksheet with hyperlinks where users must interact with the links and organize data (sort/filter) but should be restricted from altering or deleting the hyperlink contents.
- Observed behavior
- When 'Select locked cells' is disabled during sheet protection, hyperlinks cannot be clicked. If enabled without proper cell locking, users might inadvertently delete or edit the hyperlink contents.
Ensure that your hyperlinks are working correctly and your data is properly organized before applying worksheet protection, and keep a record of your protection password if you choose to set one.
Configure Sheet Protection Settings for Locked Cells
Properly lock the hyperlink cells and configure the sheet protection options to allow specific user actions like selecting cells, sorting, and filtering.
To allow users to click a hyperlink in a protected sheet, the 'Select locked cells' option must remain enabled. The actual protection from deletion comes from ensuring the cell's 'Locked' property is active before protecting the sheet.
Select the cells containing the hyperlinks. Right-click the selection, choose 'Format Cells', navigate to the 'Protection' tab, and ensure the 'Locked' checkbox is checked. Click 'OK'.
Navigate to the 'Review' tab on the top ribbon and click the 'Protect Sheet' button.
In the Protect Sheet dialog box, ensure 'Select locked cells' and 'Select unlocked cells' are checked. Scroll down the permissions list and also check 'Sort' and 'Use AutoFilter'.
Enter an optional password and click 'OK'. Test the result by clicking the hyperlink to ensure it opens, and then select the cell and press the 'Delete' key to confirm Excel prevents the modification.

Test Behavior in a New Workbook to Isolate Glitches
If locked cells are still being deleted despite correct settings, the issue might be specific to a corrupted workbook. Testing in a fresh file helps isolate the problem.
Easily Manage Sheet Protection with WPS Spreadsheet
WPS Office provides highly compatible and intuitive tools to protect your spreadsheets. You can easily lock hyperlink cells while allowing essential interactions like clicking, sorting, and filtering without worrying about accidental deletions.
- 1. Select and Lock Cells: Open your document in WPS Spreadsheet, select the hyperlink cells, right-click, select 'Format Cells', and check 'Locked' under the Protection tab.
- 2. Protect the Worksheet: Navigate to the 'Review' tab on the ribbon and click on 'Protect Sheet'.
- 3. Configure Permissions: Check 'Select locked cells', 'Sort', and 'Use AutoFilter' from the list of allowable actions for all users.
- 4. Apply Protection: Set your password if needed and click 'OK' to secure your hyperlink cells safely.

Frequently Asked Questions
Why can't I click a hyperlink when the Excel sheet is protected?
This happens if the 'Select locked cells' option is unchecked during the sheet protection setup. You must allow users to select locked cells so their cursor can interact with the hyperlink.
Will users be able to change the hyperlink address if 'Select locked cells' is checked?
No. As long as the cell is formatted as 'Locked' before you apply the sheet protection, users can click the link but cannot edit, delete, or modify the URL or the display text.
How do I allow sorting on a protected sheet containing hyperlinks?
When you click 'Protect Sheet' from the Review tab, scroll through the list of 'Allow all users of this worksheet to' options. Check both the 'Sort' and 'Use AutoFilter' boxes before clicking OK.




