Protected Worksheet

GMC The Macro Man

Board Regular
Joined
Mar 23, 2023
Messages
64
Office Version
  1. 2021
Platform
  1. Windows
Hi there,
I have a spreadsheet that allows users to enter data in multiple rows and columns and I have some cells with the sheet to do some calculations for the user so I have both "Locked & Hidden" these cells so the users cannot access them (delete).
The problem I have is that the user may want to add a new row of data at the bottom of the sheet and then DATA sort it to run in alpha / numerical order but because I have some cells locked and the sheet protected, then the SORT & FILTER function does not work. I need to filter on 2 columns so that is why i need the DATA SORT function to work.
Can anyone advise what my best option would be here
Thanks as always
George
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I found this answer from a previous post, its not what I was wanting but it will do the task. Thanks to Michael M. for the solution

Record a macro to UNPROTECT the sheet first, sort the data, then REPROTECT the sheet.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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