How are you using the code in your program? Try adding 2 listboxes to a form, add similar and different letters into the listbox and paste that code into the form load. You'll see it'll remove anything that's the same in the second listbox

------------------
David Underwood
Teen Programmer

ICQ - 14028049
E-mail - [email protected]