Sorting a protected sheet

L84THSKY

New Member
Joined
Apr 24, 2019
Messages
12
Hello

I have added sheet protection. There are only three columns of info in the sheet, and all of them are locked under Format Cells/Protection/Locked.

When I protected the sheet, it gave me options to allow certain functions while protected.

I chose:

Select Locked Cells
Select unlocked cells
Sort
Use autofilter

When I try to sort a column and have all three columns move together with the sort, I get a popup saying the sheet is protected. I thought choosing "Sort" as an allowable option would allow me to sort the protected columns.

If all I want to do is filter and sort the columns, but shut down all other functions on this sheet, how do I do that? I have filters on each column, and they work fine while the sheet is protected

Thanks
Eric
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi there. The sort option on the protected sheets only allows you to sort cells that are not locked. The filtering works fine because you are not changing the order of the data, only whats displayed. To achieve what you want I suggest you record or write a macro that unprotects the sheet, sorts the columns then re-protects the sheet. You could link that macro to a button at the top of the columns or make it run on a hotkey combination.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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