Thanks for posting this!
I've managed to use the same code to try it out as well. It works great for the sample .mdb file, however when using it for a slightly larger data set (eg 36 rows with both input fields as string) my results came back somewhat inconsistent.
After much playing around...