Hello, I found this through google, any thoughts of on if it may help me?
Thanks!
(would i need it at the start of every sub, or just every form) or..?
sorry i am compelty lost on this one
<code>
Sub YourSubroutine()
On Error Goto ErrHndlr
Application.UserControl = False
'Unprotect the Sheet
Sheets(1).Unprotect Password:="dsi"
'
'Do all of your work here
'
'Protect the Sheet
Sheets(1).Protect Password:="dsi"
Application.UserControl = True
Exit Sub
ErrHndlr:
MsgBox "Error No: " & Err.Number & vbCrLf & _
"Description: " & Err.Description
Err.Clear
'Protect the Sheet
Sheets(1).Protect Password:="dsi"
Application.UserControl = True
End Sub
</Code>