JP Montoya
Board Regular
- Joined
- Jan 20, 2006
- Messages
- 61
I have two questions regarding the following VBA:
Private Sub Workbook_Open()
With Sheet4
.Protect Password:="crtc", UserInterfaceOnly:=True
.EnableOutlining = True
End With
With Sheet5
.Protect Password:="crtc", UserInterfaceOnly:=True
.EnableOutlining = True
End With
With Sheet7
.Protect Password:="crtc", UserInterfaceOnly:=True
.EnableOutlining = True
End With
End Sub
1.) I would like to mask the password
2.) I would like for the macros to always be on regardless of the macro settings unless the correct password is entered if possible.
Thanks
Private Sub Workbook_Open()
With Sheet4
.Protect Password:="crtc", UserInterfaceOnly:=True
.EnableOutlining = True
End With
With Sheet5
.Protect Password:="crtc", UserInterfaceOnly:=True
.EnableOutlining = True
End With
With Sheet7
.Protect Password:="crtc", UserInterfaceOnly:=True
.EnableOutlining = True
End With
End Sub
1.) I would like to mask the password
2.) I would like for the macros to always be on regardless of the macro settings unless the correct password is entered if possible.
Thanks