Private Sub Worksheet_Calculate()
If Range("B3") = 789 Or Range("B3") = 456 Or Range("B3") = 321 _
Or Range("B3") = 741 Or Range("B3") = 852 Then
MsgBox "Stop!", vbOKOnly
End If
End Sub
Private Sub Worksheet_Calculate()
'Modified 5/3/2022 1:07:35 PM EDT
Select Case Range("B3").Value
Case 789, 456, 321, 741, 852
MsgBox "Stop!", vbOKOnly
End Select
End Sub