Thanks though, at first I thought that M$ got rid of InStr() but I dbl checked and its still there so thats what I used. Not sure how fast it is compared to indexOf.