I haven't created this macro and I'm a real newb with coding so I don't really know what part of this is incorrect that I keep getting error alerts
Could anyone help?
Error says "Block if without end if"
I have no idea what that means
Thank you
kind regards
Could anyone help?
Code:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Not Intersect(Target, Range("B23:HN23")) Is Nothing Then
If UCase(Target.Value) = "SAMPLE" Then
MsgBox ("Please fill the next column!")
End If
End Sub
I have no idea what that means
Thank you
kind regards