Why don't you use the InStr function? If it finds anything, then you can check to see if it's the operator or that it's part of the searchstring (I think that's easier then what you do now)