HI, typo alarm!!! > ... > put the selectedchunk into hereweare > if word 4 of hereweare > word 2 of hereweare then ## ... > word 2!!! > ## no selection, just a blinking cursor... > end if Regards Klaus Major klaus at major-k.de http://www.major-k.de