B
Brad Patterson
I want to attach a name to a userform (i.e. userform1,2,3 etc) or a control
within a form (i.e. TextBox1,2,3 etc) by means of a loop. How do I name the
userform/control with a variable such as a string ...
Dim UF as UserForm
Dim str as string
Dim j as Integer
For j = 1 to 5
str = ³UserForm² & j
UF.Name = str
UF.Show
Next j
- It doesn¹t work, but is it close?
Thanks for any help.
within a form (i.e. TextBox1,2,3 etc) by means of a loop. How do I name the
userform/control with a variable such as a string ...
Dim UF as UserForm
Dim str as string
Dim j as Integer
For j = 1 to 5
str = ³UserForm² & j
UF.Name = str
UF.Show
Next j
- It doesn¹t work, but is it close?
Thanks for any help.