Thanks guys, I know about the Form_LostFocus thing..but thats only for if one of the form's controls are clicked, than the form loses focus. V(ery) Basic's code is the one I was looking for, but I thank both of you.