How do I pause VBA code while a form is open? I have a records form, and I have a button on it that opens another form. The other form is a password form, in which I enter a password to continue. However, the button continues its code regardless of whether the password form is open, closed...