Cells to search for word a2:a30000
word can be mixed in with other characters.
Thanks in advance
Wildman
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Wildman" <m...@lab.com> wrote in message
news:j3si719vi62hoav6k...@4ax.com...
Alternatively, could use Like.
For Each c In SomeRange
If c.Value Like "*" & your_word_here & "*" Then
'continue
End If
Next c
Sometimes exact text matching (InStr) is more useful, other times
pattern matching (Like) is.
"Harlan Grove" <hrl...@aol.com> wrote in message
news:1115314808.2...@f14g2000cwb.googlegroups.com...
and say I'm searching for the word "Wildman"
then in my macro add...
If test.Value like "*"&"wildman"&"*" then
else
exit sub
End If
Thanks again
Wildman
test.Value like "*wildman*"
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Wildman" <m...@lab.com> wrote in message
news:8bil71hu241deikfm...@4ax.com...