I was trying to search at least two words in a string then execute a code. For example, I have
string = "CD_HJ_TY_AB"
Here's what I like to accomplish:
1. Find AB and CD
2. If found, do something. Else do nothing.
I tried to use Instring() and AND but I can't get it working.
Any suggestions?
Bookmarks