Unfortunately, sharing a workbook locks down all sorts of features. Things like protection cannot be changed while a workbook is shared. This link will shed some light: http://blog.contextures.com/archives...ooks-in-excel/
What I would suggest is to leave the sheet unlocked and then use the worksheet's Change event to test if the change should be allowed.
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:B")) Is Nothing Then
'Do your thing here.
Else
Application.Undo
End If
End Sub
Also, please be sure to use CODE tags in your posts. It makes your code much easier to read and copy. See the forum rules for details.
Bookmarks