Hi want the code to search for 'Journey Start Event' in column E and if it cannot find it then to exit the macro. I thought the code below would do it, but it doesn't seem to work. Any suggestions? Either to the code below or different code?
thanks
thanks
Code:
Dim myCell1 As Range
LastRow2 = ActiveCell.SpecialCells(xlCellTypeLastCell).row
Set myCell1 = Range("E" & LastRow2)
Set found = Columns("E").Find(What:="Journey Start Event", LookIn:=xlValues, LookAt:=xlPart)
If found Is Nothing Then Exit Sub