Sorting "locked" and "protected" table

ESFjsmith

New Member
Joined
Mar 17, 2011
Messages
3
Helllo all,
New here, looks like a very informative forum. Here is my question:

I have excel 2007 and a table with locked cells and a protected sheet. Because the cells are locked, the sort commands do not work. I have tried checking the box to sort when I protect the sheet, but it still does not work.

If I leave the cells of the table unlocked and DO NOT ALLOW to select the unlocked cells, it works, but I also have some cells that still need to be selectable when the sheet is protected.

Any ideas?

Thank you
Jim
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Welcome to MrExcel.

To enable sorting on a protected worksheet all the cells in the sort range must be unlocked. The only alternative is VBA code that unprotects, sorts and reprotects.
 
Upvote 0
Welcome to MrExcel.

To enable sorting on a protected worksheet all the cells in the sort range must be unlocked. The only alternative is VBA code that unprotects, sorts and reprotects.

Thanks for replying so quickly. I was trying to avoid another macro and use the table options for sorting, but it sounds like that is my only option.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,517
Members
452,921
Latest member
BBQKING

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