title: Run-time Error 424 Object Required UserForm doesnt exist
body: <p>I'm attempting to do the things written on this site <a href="http://www.excel-easy.com/vba/userform.html#show-userform" rel="noreferrer">www.excel-easy.com</a> but when I click the <code>commandbutton</code> (from ActiveX controls) in the worksheet just like what the website instructed, nothing happens. I tried to use a button from form controls, but it says that the error is in this
  ---> DinnerPlannerUserForm.Show </p>
  
  <p>My Code:</p>
  
  <pre><code>Sub Button2_Click()
      DinnerPlannerUserForm.Show
  End Sub
  </code></pre>
  
  <hr>
  
  <p>When I used F8, it said the error is here --> <code>Private Sub UserForm_Initialize()</code></p>
  
  <pre><code>Private Sub UserForm_Initialize()
  
      'Empty NameTextBox
      NameTextBox.Value = ""
  
      'Empty PhoneTextBox
      PhoneTextBox.Value = ""
  
      'Empty CityListBox
      CityListBox.Clear
  
      'Fill CityListBox
      With CityListBox
          .AddItem "San Francisco"
          .AddItem "Oakland"
          .AddItem "Richmond"
      End With
  
      'Empty DinnerComboBox
      DinnerComboBox.Clear
  
      'Fill DinnerComboBox
      With DinnerComboBox
          .AddItem "Italian"
          .AddItem "Chinese"
          .AddItem "Frites and Meat"
      End With
  
      'Uncheck DataCheckBoxes
      DateCheckBox1.Value = False
      DateCheckBox2.Value = False
      DateCheckBox3.Value = False
  
      'Set no car as default
      CarOptionButton2.Value = True
  
      'Empty MoneyTextBox
      MoneyTextBox.Value = ""
  
      'Set Focus on NameTextBox
      NameTextBox.SetFocus
  
  End Sub
  </code></pre>