Converemon
New Member
- Joined
- May 23, 2014
- Messages
- 15
Suppose I have two strings: U98 & K11+P46+M67+U98 ..All I need to know is how to return True if the first string is in the second or False if it is not. I have been trying to use this:
Where curStrCell is the second string and strCell is the first; even though I've tried it in the opposite order. Can anyone tell me what I'm doing wrong or suggest a better way to do this?
Code:
str1Mask = curStrCell.Value Like strCell.Value
If str1Mask = True
'Do whatever
End If
Where curStrCell is the second string and strCell is the first; even though I've tried it in the opposite order. Can anyone tell me what I'm doing wrong or suggest a better way to do this?