View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Carim Carim is offline
external usenet poster
 
Posts: 510
Default Validation is not working

Hi David,

Following seems to work :

Set Target = Range("$H$3")
If Target.Value = Range("$B$3").Value Then
MsgBox "That Entry is NOT ALLOWED!"
Target.ClearContents
Target.Select
End If

HTH
Cheers
Carim