Hi,
I have a list of text boxes (TextBox1 thru TextBox20) in my Userform. Is there an elegant way to populate these text boxes using sheet1, column a, rows 1 thru end of rows?
The only way I know is to move each cell's value from the source sheet to the individual textbox, i.e., TextBox1.Text = cell...., TextBox2.Text = cell...., etc.
I was thinking that there may be a way to loop thru the cells in the sheet and populate then increment the TextBox to the next.
Thanks.
I have a list of text boxes (TextBox1 thru TextBox20) in my Userform. Is there an elegant way to populate these text boxes using sheet1, column a, rows 1 thru end of rows?
The only way I know is to move each cell's value from the source sheet to the individual textbox, i.e., TextBox1.Text = cell...., TextBox2.Text = cell...., etc.
I was thinking that there may be a way to loop thru the cells in the sheet and populate then increment the TextBox to the next.
Thanks.