Hi,
Look at this code :
Sub Search_Click()
Dim rng As Range, c As Range, i As Long
'Tells where to search
Set rng = Columns("A:P")
'Opens box and ask what do they want to search
searchthis = InputBox("Go get it Benny.", "Property Search")
'Find and activate
Set c = rng.Find(What:=searchthis, After:=ActiveCell, LookIn:= _
xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _
xlNext)
If Not c Is Nothing Then c.Activate Else Exit Sub
'Loop for FindNext
Do
i = MsgBox("Find Next ?", vbYesNo)
If i = vbYes Then
Set c = rng.FindNext(c)
c.Activate
End If
Loop While Not c Is Nothing And i = vbYes
End Sub
Bookmarks