Thread: find a "." then
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Wigi Wigi is offline
external usenet poster
 
Posts: 396
Default find a "." then

If Instr(yourstring, whatyouwanttosearch) 0 Then

'code in case found

Else

'code in case not found

End if



--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Rivers" wrote:

is there a way to search a variable containing "mydoc.doc" for the "." and if
found do the next line i tried

if sel=*.* then

but it doesnt work any ideas

thanks

Rivers