K
Kim-Anh Tran
How do I change the Target.Formula="" to calling an alert message?
My appreciation in advance for any help!
Kim-Anh
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row >45 And Target.Row<55 And Target.Column = 20 Then
Select Case Target.Formula
Case "x"
'allow this
Case ""
'allow this
Case Else
'reset to nothing
Target.Formula = ""
End Select
End If
End SubTarget.Formula="
My appreciation in advance for any help!
Kim-Anh
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row >45 And Target.Row<55 And Target.Column = 20 Then
Select Case Target.Formula
Case "x"
'allow this
Case ""
'allow this
Case Else
'reset to nothing
Target.Formula = ""
End Select
End If
End SubTarget.Formula="