How to validate and -if invalid- undo an entry?

S

serdar

Private Sub Worksheet_Change(ByVal Target As Range)

If (expression) Then
Application.Undo


End Sub


This works but a flashing occurs. What to do?
 
Top