Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Auto_open goes in a general module
Workbook_open would go in Thisworkbook Gord Dibben MS Excel MVP On Thu, 18 Sep 2008 19:32:07 GMT, "BNT1 via OfficeKB.com" <u19326@uwe wrote: Thanks Kevin for the response Copied into "this workbook". Saved, and the opened, but did not work. Any ideas? regards Kevin B wrote: See if the following does the trick, but save your real file under a new name before running as this has not been tested: Sub auto_open() Dim wb as Workbook Dim ws as Worksheet Set wb = ThisWorkbook For each ws in wb.Worksheets With ws .Protect Password:="template", userinterfaceonly:=True .EnableOutlining = True .EnableAutoFilter = True End With Next ws Set wb = Nothing End Sub Hi [quoted text clipped - 28 lines] Brian |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sheet protection and "Group and Outline" | Excel Discussion (Misc queries) | |||
please help . access group and outline with protection on | Excel Discussion (Misc queries) | |||
view group and outline with protection on | Excel Discussion (Misc queries) | |||
How do I remove the outline protection in Excel sheet? | Excel Discussion (Misc queries) | |||
Protection with Outline | Excel Discussion (Misc queries) |