Solved

Disable Advanced filter option in Excel

Posted on 2012-03-22
6
421 Views
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
0
Comment
Question by:hkgal
  • 3
  • 3
6 Comments
 
LVL 7

Expert Comment

by:David_Hagerman
ID: 37751289
0
 

Author Comment

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

Expert Comment

by:David_Hagerman
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
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:hkgal
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"...
0
 

Author Comment

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

I have solved by my own
0
 
LVL 7

Accepted Solution

by:
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.
http://www.accountingweb.co.uk/anyanswers/excel-prevent-hidden-columns-being-seen 

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now