i need to do a search using VBA to activate the relevant cell
ive used
Range("A2:B2").Select
Cells.Find(What:=TextBox1.Text, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
This works fine to find the information. The problem comes if it cant find what im looking for. I would like a msg box coming up saying "Sorry the value you are searching for does not exist"
at the moment all i get is a run time error message if the text cant be found
any help would be much appreciated
Bookmarks