Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JP JP is offline
external usenet poster
 
Posts: 103
Default Lock cells but allow sorting and filtering

Is there any way to Lock cells such that the cell values cannot be changed
but still allow sorting and filtering?

I have gone through the steps of Locking all cells on a worksheet and then
protecting the worksheet with a password. When protecting the worksheet I
have checked the boxes to allow for sorting and filtering. However, when I
go to the Data menu, the AutoFilter is grayed out and when I try to sort I
get the message saying that the worksheet is protected and that it must be
Unprotected before any changes can be made.

Thank you for your time and assistance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Lock cells but allow sorting and filtering

I am not sure of the best way to make Sort work on a protected sheet.
However, I have successfully made AutoFilter work on a protected
sheet. Before you protect the sheet, select Data Filter
AutoFilter. Then the AutoFilter arrows will appear on the column
headers. Now protect the worksheet, and make sure to check the box
Allow all users of this worksheet to: Use AutoFilter. You will be
able to use some AutoFilter functions, but not Sort Ascending or Sort
Descending. You will also not be able to select Data Filter Show
All when the worksheet is protected. All users will be able to use
AutoFilter, but they will not be able to remove the AutoFilter arrows
from the column headers.


  #3   Report Post  
Posted to microsoft.public.excel.programming
JP JP is offline
external usenet poster
 
Posts: 103
Default Lock cells but allow sorting and filtering

Thank you for the help.
I guess Auto Filter will have to suffice.
If somebody needs to sort, they will just have to Copy & Paste the data into
a new workbook and sort it there.

" wrote:

I am not sure of the best way to make Sort work on a protected sheet.
However, I have successfully made AutoFilter work on a protected
sheet. Before you protect the sheet, select Data Filter
AutoFilter. Then the AutoFilter arrows will appear on the column
headers. Now protect the worksheet, and make sure to check the box
Allow all users of this worksheet to: Use AutoFilter. You will be
able to use some AutoFilter functions, but not Sort Ascending or Sort
Descending. You will also not be able to select Data Filter Show
All when the worksheet is protected. All users will be able to use
AutoFilter, but they will not be able to remove the AutoFilter arrows
from the column headers.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Sorting / Filtering Colored Cells Renegade Excel Worksheet Functions 1 October 17th 08 05:32 PM
Sorting and filtering HELP!!!!! Yossy Excel Worksheet Functions 2 May 12th 08 04:38 AM
XL 2007-Filtering/sorting mixes up chgd cells in shared worksheet? Margie Excel Discussion (Misc queries) 0 April 1st 08 09:33 PM
Filtering and Sorting Abilio Excel Programming 2 December 6th 05 07:03 PM
sorting and filtering Duncan McDowell Excel Worksheet Functions 1 June 28th 05 03:02 PM


All times are GMT +1. The time now is 02:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"