Can you unprotect a sheet once a text box is selected and then reprotect it again when it is unselected?
I do not want to use active x text boxes, just normal text boxes.
Sub TextBox1_Click()
Unprotect
ActiveSheet.Shapes("TextBox 1").Select
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Protect
End Sub
Option Explicit
Sub TextBox1_Click()
Unprotect
ActiveSheet.Shapes("TextBox 1").Select
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.ScreenUpdating = False
If Me.Range("A1:Z20").Select Then
Beep
Me.Range("A21").Select
Exit Sub
End If
Application.ScreenUpdating = True
End Sub