Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Autofilter does not work on protected w/s even when "checked to allow" ??

2003, 2007

Why does Autofilter not work on a protected w/s even when "checked to allow" ??

On the particular w/s, I checked the dialog box to allow Autofilter.

Further, I used the following VBA resulting with the same problem:

Sub workbook_open()
With Worksheets("My Sheet Name")
.Protect , userinterfaceonly:=True
.EnableOutlining = True
.EnableAutoFilter = True
End With

NOTE: If I unprotect the w/s, I can toggle autofilter.

BTW, the workbook in question is saved as 2003 with 2007.

Any thoughts appreciated.

EagleOne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Autofilter does not work on protected w/s even when "checked to allow" ??

Hi EagleOne

On the particular w/s, I checked the dialog box to allow Autofilter.


I test it for you in Excel 2007 and save the file as 97-2003 and I can filter with no problems

Do you see the problem when you open the xls file in 2003 or in 2007 ?

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




wrote in message ...
2003, 2007

Why does Autofilter not work on a protected w/s even when "checked to allow" ??

On the particular w/s, I checked the dialog box to allow Autofilter.

Further, I used the following VBA resulting with the same problem:

Sub workbook_open()
With Worksheets("My Sheet Name")
.Protect , userinterfaceonly:=True
.EnableOutlining = True
.EnableAutoFilter = True
End With

NOTE: If I unprotect the w/s, I can toggle autofilter.

BTW, the workbook in question is saved as 2003 with 2007.

Any thoughts appreciated.

EagleOne

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Autofilter does not work on protected w/s even when "checked to allow" ??

Good question Ron!

Well, the answer is "same problem!" on both the 2003 & 2007 installs.

I even selected all "Allow User To" boxes on the 2003 machine.
Then I saved the file after selecting the boxes to ascertain if that
would make any difference, it did not.

EagleOne

"Ron de Bruin" wrote:

Hi EagleOne

On the particular w/s, I checked the dialog box to allow Autofilter.


I test it for you in Excel 2007 and save the file as 97-2003 and I can filter with no problems

Do you see the problem when you open the xls file in 2003 or in 2007 ?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Autofilter does not work on protected w/s even when "checked to allow" ??

Can you send me your test file private so I can see if I can reproduce it

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




wrote in message ...
Good question Ron!

Well, the answer is "same problem!" on both the 2003 & 2007 installs.

I even selected all "Allow User To" boxes on the 2003 machine.
Then I saved the file after selecting the boxes to ascertain if that
would make any difference, it did not.

EagleOne

"Ron de Bruin" wrote:

Hi EagleOne

On the particular w/s, I checked the dialog box to allow Autofilter.


I test it for you in Excel 2007 and save the file as 97-2003 and I can filter with no problems

Do you see the problem when you open the xls file in 2003 or in 2007 ?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Autofilter does not work on protected w/s even when "checked to allow" ??

Thanks for "stopping by." Gord nailed the answer.

I had a bad assumption as to the user being able to apply/unapply autofilter.
The allowance of use was for just using the autofilter, only if, initiated before the protection is
applied.

"Ron de Bruin" wrote:

Can you send me your test file private so I can see if I can reproduce it



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Autofilter does not work on protected w/s even when "checked to allow" ??

Gord,

Excellent! I misunderstood what "Allow user to filter" meant.
If I initiate Autofilter before protecting the w/s then the user can use the autofilter.

I had assumed that any user wold be allowed to apply and unapply the filtermode
on any protected w/s.

My expectation was in error.


Gord Dibben <gorddibbATshawDOTca wrote:

You must be in filter mode before protecting the sheet with "allow user to",
then autofilter will be allowed.


Gord Dibben MS Excel MVP

On Mon, 13 Apr 2009 12:53:32 -0400,
wrote:

Good question Ron!

Well, the answer is "same problem!" on both the 2003 & 2007 installs.

I even selected all "Allow User To" boxes on the 2003 machine.
Then I saved the file after selecting the boxes to ascertain if that
would make any difference, it did not.

EagleOne

"Ron de Bruin" wrote:

Hi EagleOne

On the particular w/s, I checked the dialog box to allow Autofilter.

I test it for you in Excel 2007 and save the file as 97-2003 and I can filter with no problems

Do you see the problem when you open the xls file in 2003 or in 2007 ?

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
How do i enable "Group" & "Ungroup" in a protected sheet DBLA137 Excel Discussion (Misc queries) 1 March 11th 09 12:20 AM
when a "check box" is checked, a "result" to be shown in another c Lisa Ann Kashner Excel Discussion (Misc queries) 2 November 6th 07 01:32 AM
Autofilter set to "SHOW ALL" on open for a protected worksheet Sandra Excel Discussion (Misc queries) 10 September 18th 07 01:02 PM
"Show all" button not work in protected worksheet Marisa Excel Worksheet Functions 0 June 16th 06 05:16 AM
How do i enable "Group" & "Ungroup" in a protected sheet ruddojo Excel Discussion (Misc queries) 0 June 2nd 06 01:01 AM


All times are GMT +1. The time now is 02:51 AM.

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

About Us

"It's about Microsoft Excel"