title: Userform for password input
body: <p>I'm working on an Excel Workbook that uses VBA for data input, since I don't want the application itself to be available to the user if the user does not know the password.</p>
  
  <p>I managed to set up the Userform for data input and then a new Userform for the password input.</p>
  
  <p>However, I noticed that the password is easily bypassed if the Password Userform is terminated.</p>
  
  <p>I tried to make the Userform_Terminate() take the user back to the previous Userform, but it just creates an endless loop.</p>
  
  <p>Anyone know a workaround for this?</p>
  
  <pre><code>Private Sub UserForm_Terminate()
  
      Unload Me
      UserForm1.Show
  
  End Sub
  </code></pre>