I have a big dilemma guys, whenever I want to use the find method to look for a specific string that isnt there, I get an error when the code runs and the program doenst continue executing as intended. So if I have
Cells.Find(What:="Text", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False).Activate
but the spreadsheet doesnt have that text in the file so I get an error. Is there any way so that i can say if the Find method doesnt find the word, then to simply continue executing the rest of the code.
Cells.Find(What:="Text", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False).Activate
but the spreadsheet doesnt have that text in the file so I get an error. Is there any way so that i can say if the Find method doesnt find the word, then to simply continue executing the rest of the code.