ChuckDrago
Active Member
- Joined
- Sep 7, 2007
- Messages
- 470
- Office Version
- 2010
- Platform
- Windows
I have 6 textboxes in a userform named .tb1 through .tb6. Is there a way to insert them in a For loop, so that each box is read using the digit that differentiates them?
Something like
Obviously this code does not work but illustrates what I am searching for, which is ability to identify each textbox using their digit.
As usual, much obliged to all
Chuck
Something like
VBA Code:
With UserForm1
For x = 1 to 6
.tb & x.Value = nnn
Next x
As usual, much obliged to all
Chuck