Here is the VBA
<code style="font-family: monospace, monospace; margin: 0px 2px; border: 0px; border-radius: 2px; word-break: normal; display: block; font-size: 1em; line-height: 1.42857142857143em; padding: 0px !important; background-color: transparent;">Sub FindName()
Dim FindString As String
Dim Rng As Range
FindString = InputBox("Enter Persons Name")
If Trim(FindString) <> "" Then
With Sheets("Tracking").Range("D:D")
Set Rng = .Find(What:=FindString, _
After:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True
Else
MsgBox "Nothing found"
End If
End With
End If
End Sub
</code>What I need it to do is find partials. If I am searching for Doe, Jane I would like to be able to type in "Doe" or "Jane" to find the name. Also, if there are more than 1 Janes, how do I deal with this?
Thank you. Will credit with verified solutions.
<code style="font-family: monospace, monospace; margin: 0px 2px; border: 0px; border-radius: 2px; word-break: normal; display: block; font-size: 1em; line-height: 1.42857142857143em; padding: 0px !important; background-color: transparent;">Sub FindName()
Dim FindString As String
Dim Rng As Range
FindString = InputBox("Enter Persons Name")
If Trim(FindString) <> "" Then
With Sheets("Tracking").Range("D:D")
Set Rng = .Find(What:=FindString, _
After:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True
Else
MsgBox "Nothing found"
End If
End With
End If
End Sub
</code>What I need it to do is find partials. If I am searching for Doe, Jane I would like to be able to type in "Doe" or "Jane" to find the name. Also, if there are more than 1 Janes, how do I deal with this?
Thank you. Will credit with verified solutions.