Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

protect cells while allowing user to filter in Excel

Status
Not open for further replies.

mmaginniss

Technical User
Jun 9, 2003
20
US
I have an Excel master sheet which is linked to several other Excel sheets. On the master sheet I have a filter. I want users to be able to use the filter but not change the actual values in the cells of the master sheet. I have tried protecting the sheet but it doesn't allow me to then use the filter. Any ideas would be appreciated! Brgds.
 
Hi mmaginniss,

A couple of suggestions...

1) Being new to Tek-Tips, you're likely not yet aware of the option (see bottom-left-corner of the Tek-Tips screen) - to "Click here to mark this thread for e-mail notification".

This will ensure that whenever someone responds to your posting(s), you'll become aware immediately.

You can also go into your "Personal Profile" (see the top-left-corner of the Tek-Tips screen) - and change your profile to set the e-mail notification to be automatic for all your postings.

2) Regarding your "master sheet" and the need to allow users to filter data while maintaining protection...

Have you considered setting up "macro buttons" for "specific filtering" - the result of which would be the extraction of a copy of the filtered data to a SEPARATE sheet. This way, you could maintain protection on your master sheet, and allow the users access to the data extracted to the SEPARATE sheet.

Alternatively, you could have a VBA routine that would extract ALL your master sheet data to your SEPARATE sheet, and turn on AutoFilter. Being a "copy", you would then not have to be concerned about Protection being disabled.

If you'd like assistance with extracting data (Advanced Filter) using VBA, I have some example files I can email you. These are "introductory" level files and should help in better understanding the Advanced Filter options.

Hope this helps. :)

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top