Private Sub Worksheet_Change(ByVal Target As Range)
'Modified 1/15/2019 10:28:47 PM EST
If Target.Column = 8 Or Target.Column = 13 Then
If InStr(Target.Value, "LAB") Then MsgBox "Enter Rate"
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
'Modified 1/15/2019 11:16:47 PM EST
If Not Intersect(Target, Range("Cake")) Is Nothing Then
If InStr(Target.Value, "LAB") Then MsgBox "Enter Rate"
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
'Modified 1/15/2019 11:46:47 PM EST
If Not Intersect(Target, Range("Cake")) Is Nothing Then
If Target.Cells.CountLarge > 1 Or IsEmpty(Target) Then Exit Sub
If InStr(Target.Value, "LAB") Then MsgBox "Enter Rate"
End If
End Sub
Private Sub xWorksheet_Change(ByVal Target As Range)
Dim rng As Range, cel As Range
Set rng = Intersect(Target, [H:H,M:M])
If Not rng Is Nothing Then
For Each cel In rng
If InStr(cel, "LAB") Then
MsgBox "Enter Rate"
Exit For
End If
Next
End If
End Sub