Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi! I'm using this commands in VBA (Excel 2000): Sub Auto_Open() With Worksheets("Sheet1") .Protect Password:="pass", userinterfaceonly:=True .EnableAutoFilter = True End With End Sub ....to use autofilter when the sheet1 is protected. I also created th same VBA commands to do the same in sheet2: Sub Auto_Open() With Worksheets("Sheet2") .Protect Password:="pass", userinterfaceonly:=True .EnableAutoFilter = True End With End Sub It works fine until I close and reopen this workbook. Then there is a error message "Ambiguous name detected: Auto_Open" It works fine with only sheet1 protected, but not with two or more?? What can be the problem ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Utilizng full AutoFilter features while specific cells are protect | Excel Discussion (Misc queries) | |||
Utilizng full AutoFilter features while specific cells are protect | Excel Worksheet Functions | |||
Utilizng full AutoFilter features while specific cells are protect | Excel Discussion (Misc queries) | |||
How to protect formula's, but allow autofilter | Excel Worksheet Functions | |||
how do i protect an Autofilter funtion on Excel 2000 | Excel Worksheet Functions |