i've got this code to create a textbox using a command button but i can't understand anything of it , please can you explain what each word especially(set, prevtextcontrol ,controlid) mean and what each line mean, here is the code :
Code:
Private Sub Command1_Click()
    Dim TextControl As TextBox
    Dim PrevTextControl As TextBox
    ControlID = ControlID + 1
    Set TextControl = Form1.Controls.Add("Vb.TextBox",
...