The FindNext will not stay in Column A.
Please help me, I have tried to enter the Range("A:A").Select
in different lines, but nothing works.
Sub LineSearch()
Dim MyValue, MyFindNext
Range("A:A").Select
MyValue = InputBox("?")
Cells.Find(What:=MyValue).Activate
MyFindNext = vbYes
Do Until MyFindNext <> vbYes
MyFindNext = MsgBox("Next " & MyValue & "?", _
vbYesNo, "Find Next")
If MyFindNext = vbNo Then
Exit Sub
End If
Cells.FindNext(After:=ActiveCell).Activate
Loop
Exit Sub
End Sub
Bookmarks