Thanks for the suggestion. I tried incorporating your code exactly as it is into my program, but I was still getting duplicate values. It was probably a mistake on my part. Either way, I followed your logic and was able to implement my own version that is working great! Thanks!