R
RaulDR
Hi all,
I have this, it returns the error "variable not set"
Dim sSearch As String
sSearch = InputBox("Enter String to Search", "Search")
Application.Cells.Find(What:=sSearch, After:=ActiveCell,
LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:= _
False, SearchFormat:=False).Activate
thanks so much in advance!
I have this, it returns the error "variable not set"
Dim sSearch As String
sSearch = InputBox("Enter String to Search", "Search")
Application.Cells.Find(What:=sSearch, After:=ActiveCell,
LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:= _
False, SearchFormat:=False).Activate
thanks so much in advance!