Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel 97 SR-
Trying to allow Auto Filter on a Protected workbook. The following code works fine when I protect the worksheet and workbook. But then when I make it Shared I get a run-time error '1004' Protect method of worksheet type class failed whever I click on a new worksheet. Private Sub Workbook_SheetActivate(ByVal Sh As Object With ActiveShee .EnableAutoFilter = Tru .Protect DrawingObjects:=True, contents:=True, Scenarios:=True, UserInterfaceOnly:=Tru End Wit End Su Thank Brenda |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use auto filter in a protected worksheet | Excel Discussion (Misc queries) | |||
Worksheet protected-auto filter works, show all button dosen't. | Excel Discussion (Misc queries) | |||
Using auto filter after my worksheet is protected | Excel Worksheet Functions | |||
Help with using Auto-filter in a protected Worksheet. | Excel Discussion (Misc queries) | |||
Auto Filter with Protected Worksheet | Excel Worksheet Functions |