View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
GS[_6_] GS[_6_] is offline
external usenet poster
 
Posts: 1,182
Default Tricky regular expression

If InStr(myRng, " ") 0 Then StrChk = True

Hi Claus,
Another way might be to write the above like this:

StrChk = (InStr(myRng, " ") 0)

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion