title: Dynamically Adding Labels to User Form = Blank UserForm
body: <p>I'm trying to dynamically add buttons to the userform, but the userform just comes up blank. Ive simplified the essence of the code as much as possible for error checking (not that it's helped me)</p>
  
  <pre><code>Sub addLabel()
  UserForm2.Show    
  Dim theLabel As Label
  Dim labelCounter As Integer
  
  For labelCounter = 1 To 3
      Set Label = UserForm2.Controls.Add("Forms.Label.1", "Test" &amp; labelCounter, True)
      With theLabel
          .Caption = "Test" &amp; labelCounter
          .Left = 10
          .Width = 50
          .Top = 10
      End With
  End Sub
  </code></pre>
  
  <p>Is there any way of checking if the buttons have been added but are invisible? Or why they are not being added. Any help greatly appreciated.</p>