ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Enable Auto Filters in protected sheet (https://www.excelbanter.com/excel-programming/380685-re-enable-auto-filters-protected-sheet.html)

Tom Ogilvy

Enable Auto Filters in protected sheet
 
Activesheet.Protect UserInterfaceOnly:=True
Activesheet.enableAutofilter = true

in xl2002 and later, this can be handled more gracefully by making that
choice in the Sheet protect dialog.


--
Regards,
Tom Ogilvy


"Gordon" wrote in message
...
Hi...

Question says it all. Auto Filters won't work when sheet is protected. Any
code to get around this?

Thanks

Gordon...





All times are GMT +1. The time now is 07:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com