Hey Guys,
another probatly stupid question:
I have lots of objects in my userform, especially textboxes.
So when i need to change the text in all them boxes i usually do it
Text1.Text = Some stupid value in a stupid excel sheet
Text2.Text = Some stupid value in a stupid excel sheet
Text3.Text = Some stupid value in a stupid excel sheet
Text4.Text = Some stupid value in a stupid excel sheet
Text5.Text = Some stupid value in a stupid excel sheet
Question: IS it possible to simplify this by coding something like
For i = 1 to 45
Text & i & .text = Some stupid value in a stupid excel sheet
Next i
(tried it , not working
)
Can anyone help me out? Ty
Bookmarks