Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I've use macro to protect the sheet with the group function work, as follow: Sub Auto_Open() With Worksheets("Sheet1") .Protect Password:="hi", userinterfaceonly:=True .EnableOutlining = True End With End Sub It works fine, but i would like to enable the hide/unhide and insert/delete rows & columns function. ie, the "Protect Sheet" dialog box should be all checked instead of "Select locked cells" and "Select unlocked cells" be checked only. How can i do that except manually unprotect the sheet and protect it back again? Also, could this macro runs on multiple sheet? if i create a copy of sheet1 could it works on "sheet1 (2)" automatically? Seems i asked too much...but thanks for your help!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hyperlinks on protected sheet don't work | Excel Discussion (Misc queries) | |||
UDF doesn't work on a protected sheet in Excel 2003 | Excel Discussion (Misc queries) | |||
protected work sheet | Excel Discussion (Misc queries) | |||
Find doesn't work if the sheet is protected | Excel Discussion (Misc queries) | |||
Protected work sheet | Excel Discussion (Misc queries) |