Just typing this on the fly... watch out for any typ0s
Code:Sub Auto_Open() Dim wks as worksheet for each wks in thisworkbook.worksheets wks.Unprotect PassWord:=""' If there's a password, use it within the double quote wks.Protect UserInterfaceOnly:=True, Password=""' If there's a password, use it within the double quote next wks End Sub




Reply With Quote
Bookmarks