The entries in the listbox are unique, but thanks again for pointing out that I should exit the loop.