imported_unknown
Active Member
- Joined
- Jan 13, 2002
- Messages
- 424
Hi, I'm having a protection issue.
When you protect your sheet with "Extra/Protect/Protect Worksheet" you get the chance to enter a password. But now I want to protect the sheet in a macro with "ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True". Does anyone know if and how I can throw in an password? If possible, I'd even like to use a predefined password in a hidden row, is this doable?
I'm still a rookie at this, maybe there's an easier solution. Please let me know.
This message was edited by Andy on 2002-10-03 21:03
When you protect your sheet with "Extra/Protect/Protect Worksheet" you get the chance to enter a password. But now I want to protect the sheet in a macro with "ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True". Does anyone know if and how I can throw in an password? If possible, I'd even like to use a predefined password in a hidden row, is this doable?
I'm still a rookie at this, maybe there's an easier solution. Please let me know.
This message was edited by Andy on 2002-10-03 21:03