title: How to dynamically position textboxes one below the other in vba
body: <p>I am working on a Userform where I want to add textboxes every time I click a commandButton. The below code does this : </p>
  
  <pre><code>Private Sub CommandButton1_Click()
      Dim editBox As Control   
      Set editBox = UserForm1.Controls.Add("Forms.TextBox.1")
  End Sub
  </code></pre>
  
  <p>However I think I only add one textbox on click, am I right ? If so, is there a way to add as many textbox as I click on commandButton ?</p>
  
  <p>Also my big issue is to position each textboxes added below each other like in column. Is there a way to do it ?<br>
  Or do you suggest me to change the way to add textboxes ?</p>
  
  <p>Thank you</p>