Prevent Form From Being Unloaded
Form Code
Private Sub Form_Unload(Cancel As Integer ) Cancel = 1 End Sub