For
Each
ctrl
In
Controls
If
TypeName(ctrl) =
"TextBox"
Then
If
Val(Right(ctrl.Name, 4)) >= 5131
And
Val(Right(ctrl.Name, 4)) <= 5132
Then
tbxcoll.Add
New
Indexfehler1
Set
tbxcoll(tbxcoll.Count).tbx = ctrl
End
If
End
If
Next
ctrl
For
Each
ctrl
In
Controls
If
TypeName(ctrl) =
"TextBox"
Then
If
Val(Right(ctrl.Name, 4)) >= 5127
And
Val(Right(ctrl.Name, 4)) <= 5128
Then
tbxcoll.Add
New
Hoehenfehler
Set
tbxcoll(tbxcoll.Count).tbx = ctrl
End
If
End
If
Next
ctrl