Kev #1 change Instr(lookfor$,RL$) to Instr(RL$,lookfor$), the first param is the string to be searched the second param is the string to be found, so param 2 string is searched for in param 1 string. does that make sence?kev