Disable Advanced filter option in Excel

Posted on 2012-03-22
Last Modified: 2012-03-22
I protect the Excel by hide some rows using protecting worksheet function.

However it was found when the user select "Advanced Filter" function, they can unhide all rows in the worksheet

any ways to prevent this?? Help...pls
Question by:hkgal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Expert Comment

ID: 37751289

Author Comment

ID: 37751293
it's already password protected....but users can still select the choice "advanced filter"....

Expert Comment

ID: 37751336
When you selected protection did you de-select the options below

Select Locked Cells
Select unlocked cells

Also what version office are you using as i have tested this in office 2010
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 37751353
office 2003

I try this command on workbook_open():

Application.CommandBars("Data").Controls("Filter").Controls("Advanced Filter...").Enabled = False

but when another user open it, still appear "Advanced Filter"...

Author Comment

ID: 37751614
I've requested that this question be deleted for the following reason:

I have solved by my own

Accepted Solution

David_Hagerman earned 500 total points
ID: 37751615
Poor form to cancel the request when you haven't solved the problem as per your comment " but when another user open it, still appear "Advanced Filter". "

Here is an article that steps it out. 

Also I have tried this on Excel 2003 between two machine and users can not un-hide the hidden sheet.

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question