elbazreturn
New Member
- Joined
- Oct 24, 2019
- Messages
- 5
i'm using this code to auto add textboxes inside the userform
i want to change their place to make it appears inside a frame in the same userform
Code:
Dim i As IntegerFor i = 1 To Sheets("sheet8").Range("a10000").End(xlUp).Row
Set tBox = Controls.Add("forms.textbox.1")
With tBox
.Name = "textbox" & i
.Left = 20
.Height = 20
.Top = i * 20
.Width = 160
.Font.Size = 12
Me("textbox" & i) = Sheets("sheet8").Cells(i, 1)
End With
Next i
i want to change their place to make it appears inside a frame in the same userform