You can also try the modified shorter version that Richard H. posted on the compareverstring() post. You'll find that it also works, since he put CInt() around the values.