Thanks, this worked perfectly. However, I had a couple more questions if you don't mind. Whenever I try to close the box now, it always keeps popping up, AKA infinite loop. Any idea how this might work?
Also, is there anyway to link this sub onto a command button in a form? Whenever I do it...