I'm using a For Each structure to browse through the controls in a form. How can I know what type of control is each one?
Thanks in advanceCode:For Each objCtrl In frmX.Controls
' Kind of control for objCtrl???
' CommandButton, ListBox, TextBox, etc.????
Next objCtrl
