I'm trying to refer to a member of a collection by using a statement for the index. Specifically, I want to move through the controls on a form by using their TabIndex properties, rather than the collection index.
I've tried:
but it doesn't work. Any ideas?
I've tried:
Code:
For i = 1 to Controls.count
Controls(TabIndex = i).Select
'do stuff with the selection
Next i
but it doesn't work. Any ideas?