I would rather have a pop up box, a format change would be a last resort. Thanks for the help!
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("D8")) Is Nothing Then
If Range("D8") < Range("B17") Or Range("D8") > Range("B21") Then
MsgBox "some message"
End If
End If
End Sub
Will this still work if the value is the result of a formula, and not a value entered in?
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("D8").Precedents) Is Nothing Then
If Range("D8") < Range("B17") Or Range("D8") > Range("B21") Then
MsgBox "some message"
End If
End If
End Sub
Not using MsgBox, unless you change the appearance (font name, size, style) in Control Panel, which would affect all other applications.Is there any way to format the text in that pop up box?? Change the color or size?