Armghan Haider
New Member
- Joined
- Jun 28, 2018
- Messages
- 8
Hi
I have 16 Userforms. Labeled as Userform1, Userform2.......Userform15, Userform16.
I have prompt text boxes in each of these User forms.
I need a for a loop that will allow me to run through all these forms allowing me to input code in each form.
I was thinking
For index As Integer = 1 To 16
Userform index.ShowNext index
But this doesnt work cuz I get error saying that Userform is not defined.
How can I get around this?
Thanks
I have 16 Userforms. Labeled as Userform1, Userform2.......Userform15, Userform16.
I have prompt text boxes in each of these User forms.
I need a for a loop that will allow me to run through all these forms allowing me to input code in each form.
I was thinking
For index As Integer = 1 To 16
Userform index.ShowNext index
But this doesnt work cuz I get error saying that Userform is not defined.
How can I get around this?
Thanks