S
Stuart
Here's the code:
With ActiveWorkbook.Sheets("Contract Master Order")
.Range("A1:N70").Locked = True
.Protect Password:="SGB"
.EnableSelection = xlUnlockedCells
End With
The Locked statement results in Error 1004,
Unable to set the Locked property of the Range class.
I've some embedded ActiveX textboxes in the range in question
........is that the problem?
If so, can I remove the controls (but retain the user's text) and
then protect the sheet and book, please?
Regards.
With ActiveWorkbook.Sheets("Contract Master Order")
.Range("A1:N70").Locked = True
.Protect Password:="SGB"
.EnableSelection = xlUnlockedCells
End With
The Locked statement results in Error 1004,
Unable to set the Locked property of the Range class.
I've some embedded ActiveX textboxes in the range in question
........is that the problem?
If so, can I remove the controls (but retain the user's text) and
then protect the sheet and book, please?
Regards.