Message 1 of 6
Array of Controls...
Not applicable
08-16-2001
09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In VB6 I can create an array of controls, like a textbox(0 to 6), but I cant
do that on a vba form...
If I have a group of similar controls (textbox1, textbox2, textbox3) how can
I loop through them
with this type of code:
for x = 1 to 3
var = userform1.textbox(x).value
next
Rodney
do that on a vba form...
If I have a group of similar controls (textbox1, textbox2, textbox3) how can
I loop through them
with this type of code:
for x = 1 to 3
var = userform1.textbox(x).value
next
Rodney