I know that the title is unclear .Hence , i try to explain in detail in the content .
There are 15 textbox in the VB interface as picture below .
This is a user interface that allows user to input the data and store in worksheets.
Suppose the user fill all 15 textbox .Then , first row of textbox will pass and store the data in Excel cells A1,B1,C1,D1 correspondingly .The second row of textbox store the data in Excel cells A2,B2,C2,D2 ......
Hence, I want to use nested loop to solve the problem .
for {for { Cells.(i,j)=textbox1.value
The left side of the statement is fine ,as every Excel cells have their own ID (column and row order ) .
However ,for the right hand side ,every TextBox names are assigned by me .I name them as textbox1 ,textbox2 ,textbox3...
To let them fit in the loop, i want to change their textbox name during the loop .For example ,
`textbox+i; i++ ;` ' just my thought
Is it possible to do this in reality ? Besides,what if the users fill in data in half row (3 row with data then submit , 2 row blank) .How VBA continue to fill in the data following the row with data?
