ok not sure if this has been answered or not but i think you should be ableto shorten it if you use the instr functionaircodeif not instr(cch, "0123456789-") thenMY_FUNCTIONend ifshould cover itend aircode