Sheet Protection

janema

Board Regular
Joined
Nov 28, 2022
Messages
117
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2011
  5. 2010
Platform
  1. Windows
  2. Mobile
I am trying to allow users to only edit (type in) one column of an excel file, but still be allowed to sort and filter the rest of the workbook. I have check marked the below, but for some reason, it STILL won't allow the sort option, but is allowing to filter. Am I doing something wrong?

1703293748469.png
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
The sort checkbox is a bit misleading. It allows sorting only of unlocked cells, and only with the Sort command (not the Autofilter dropdown). Filtering is allowed because it changes only the view; the data is not changed.

You can't prevent users from changing data but allow them to sort the same data, unless you implement it with VBA. The VBA would unprotect the sheet, do the sort, the re-protect the sheet.
 
Upvote 0
Solution
The sort checkbox is a bit misleading. It allows sorting only of unlocked cells, and only with the Sort command (not the Autofilter dropdown). Filtering is allowed because it changes only the view; the data is not changed.

You can't prevent users from changing data but allow them to sort the same data, unless you implement it with VBA. The VBA would unprotect the sheet, do the sort, the re-protect the sheet.

Thank you so much for that explanation. That makes sense now.
 
Upvote 0

Forum statistics

Threads
1,215,101
Messages
6,123,094
Members
449,095
Latest member
gwguy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top