Protect Worksheet but allow users to sort data

awagdarikar

Board Regular
Joined
Jun 20, 2008
Messages
115
Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
I have an Excel Workbook having a protected worksheet. I want to allow users to Sort the Worksheet and at the same time ensure that they are not able to edit (chnage) data excpet sorting which is allowed. I tried using the Tools>Protect Sheet by checking the checkbox for "Sort". I protected the sheet after that. <o:p></o:p>
<o:p></o:p>
After that I thought I would be able to sort the data However i get the error pop up saying The worksheet is Read only and protected, the user needs to unprotect it for making any changes to it. <o:p></o:p>
<o:p></o:p>
My worksheet data has 250 columns and 1500 rows. I want to keep an option open to sort it with reference to any one of it.<o:p></o:p>
<o:p></o:p>
Can someone help?<o:p></o:p>
<o:p></o:p>
awagdarikar<o:p></o:p>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
The range that will be sorted has to be unprotected.

You could write a macro that turns off worksheet protection, does the sort, and then turns protection back on again.
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,666
Members
448,977
Latest member
moonlight6

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