Hi,
The easiest way of creating many textboxes is copy and paste them on the form...But What I want to know is if is it possible to create as many textboxes as I want using a loop...
just one click of a command button...I want each textboxes controller to be next to the other![]()
thanks
sorry I forgot to say.. I already have one textbox on the form and it has a controller array index num=0VB Code:
Private Sub Command1_Click() Dim tb As Long Dim x As Integer tb = InputBox("how many textboxes do you want?") For x = 0 To tb 'here I am not sure what to write 'text1(tb).text Next x End Sub




Reply With Quote