Private Sub CommandButton1_Click()
Dim ctrl As Control, ctrlf, texte
For Each ctrl In UserForm1.Controls
If TypeOf ctrl Is msforms.Frame Then
texte = texte & ctrl.Name & vbCrLf
For Each ctrlf In ctrl.Controls
If TypeOf ctrlf Is msforms.TextBox Then texte = texte & ctrlf.Name & vbCrLf
If TypeOf ctrlf Is msforms.Label Then texte = texte & ctrlf.Name & vbCrLf
Next
End If
Next ctrl
MsgBox texte
End Sub