You have to recursively call the Controls collection to dig down and get them. The Controls collection on a form (or any control object) is not flat and so you have to recursively enumerate the Controls collections to get to all of the objects. More than likely you put your textboxes in a group box, so the Form.Controls will only see the group box and not the text box. The text boxes will be in the GroupBox.Controls collection.Private Sub SearchControls(Byval controlItems As Control.ControlCollection)
For each item as Control in controlItems
'-- Cycle through the child objects
If item.Count > 0 Then
SearchControls(item.Controls)
End If
Next
End SUb