Thread: Using "Like"
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Harlan Grove[_5_] Harlan Grove[_5_] is offline
external usenet poster
 
Posts: 97
Default 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.