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/380683-re-enable-auto-filters-protected-sheet.html)

Kari J Keinonen[_2_]

Enable Auto Filters in protected sheet
 
Hi Gordon!

I think you can try next idea.

Sub ProtectAndUnprotect()
' if you unprotect you sheet
Sheets("OwnSheet").Unprotect "YourPassword"

' you autofilter code (you can recorded that)

' end of you program
Sheets("OwnSheet").Protect "YourPassword"
End Sub

Regards,
Kari J Keinonen


All times are GMT +1. The time now is 02:58 PM.

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