Ho scritto così:
codice:
For Each ctrl In Controls
   If (Textbox) Then
   Var = (Textbox).text
   End if
   If (Checkbox) Then
   Var2 = (Checkbox).Value
   End if
Next
Il mio problema consiste nel riuscire a individuare che tipo di controllo è quello analizzato
Come posso fare? Grazie