Using "Like"
"Harlan Grove" wrote...
...
If InStr(1, strFoo, "salary", 1) * InStr(1, strFoo, "salaries", 1) 0 Then
...
@#$%! Change the * to +, so this line should be
If InStr(1, strFoo, "salary", 1) + InStr(1, strFoo, "salaries", 1) 0 Then
--
To top-post is human, to bottom-post and snip is sublime.
|