Hi Kris12
Try something like....
Sub Rectangle1_Click()
Dim searchstring, LookInR, FoundOne, fAddress
searchstring = Application.inputbox("Enter Account Number", "Search", , 100, 100, , , 2)
Set LookInR = Sheets("VA2VA Form").Range("O2:O200")
With LookInR
Set FoundOne = .Find(What:=searchstring, lookat:=xlPart)
If Not FoundOne Is Nothing Then
fAddress = FoundOne.Address
Do
Sheets("VA2VA Form").Range(fAddress).EntireRow.Copy Destination:=Sheets("Client Data Entry").Range("A1")
Loop While FoundOne.Address <> fAddress
Else
MsgBox "not found"
End If
End With
Set FoundOne = Nothing
End Sub
Bookmarks