ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2000 Protect ... But Free Filter (https://www.excelbanter.com/excel-programming/292009-excel-2000-protect-but-free-filter.html)

sal21[_11_]

Excel 2000 Protect ... But Free Filter
 
I have make a protection on a sheet, it contain a flitre, when i push on
this filtre is not active!!!!!

My problem is activate a protection on sheet and free the filtre....
ARG.....


---
Message posted from http://www.ExcelForum.com/


Tom Ogilvy

Excel 2000 Protect ... But Free Filter
 
In code in the workbook open event you need to do

worksheets("Sheet1").EnableAutofilter = True
worksheets("Sheet1").Protect UserinterfaceOnly:=True

see help on the protect method for explanation of UsedInterfaceOnly setting.

--
Regards,
Tom Ogilvy

"sal21 " wrote in message
...
I have make a protection on a sheet, it contain a flitre, when i push on
this filtre is not active!!!!!

My problem is activate a protection on sheet and free the filtre....
ARG.....


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 12:31 PM.

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