Find() in vba
There is no “FIND” function in Excel VBA, yet there is a replace. I want to search a string to find the occurrence of a sub-string.
I need to use the following
If InStr(x, y) = 0 Then… [meaning False, y isn't found within x]
If Instr(x, y) <> 0 Then… [meaning True, y is found within x]





