View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin Ron de Bruin is offline
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