How to count the number of textboxes in a form
Posted on January 4, 2009
1 2 3 4 5 6 | 'Controls - How to count the number of textboxes in a form Dim ctl As Control, iCount As Integer For Each ctl In Me.Controls If TypeOf ctl Is TextBox Then iCount = iCount + 1 Next ctl Debug.Print iCount |