ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Programatically Filter a protected shared worksheet (https://www.excelbanter.com/excel-programming/401344-programatically-filter-protected-shared-worksheet.html)

Neill

Programatically Filter a protected shared worksheet
 
How can I filter a protected shared worksheet?
1. I have allowed filtering in protection & can filter the protected
worksheet
manually but if I try using code it says its protected.
2. I can't unprotect then filter because it's a shared workbook.
3. I have used Protect UserInterfaceOnly:=True but this reset after closing
& cannot be reapplied as you cant protect a shared workbook.
4. Code used to filter Selection.AutoFilter Field:=3, Criteria1:="LK"
Regards
Neill


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

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