I've noticed when you copy vb code from a post, the line numbers are copied as well so you have to delete them one by one in your own project after you've pasted the code. Maybe there's a way around I'm not aware of...?