Salut Zving,
utiliser la logique et ton imagination car il y a 36 moyens possibles. En voici un : cliquer sur un des boutons 'Consultation' modifie le texte du bouton d'enregistrement, te donnant en même temps l'indice nécessaire pour choisir ta feuille.
USF2 - Choix de la consultation
Sub CommandButton1_Click()
'
UserForm1.CommandButton1.Caption = "Enregistrer-1"
UserForm1.Show
'
End Sub
Private Sub CommandButton2_Click()
'
UserForm1.CommandButton1.Caption = "Enregistrer-2"
UserForm1.Show
'
End Sub
USF1 - Enregistrement
Sub CommandButton1_Click()
'
Dim ws As Worksheet
Set ws = IIf(Right(Me.CommandButton1.Caption, 1) = "1", Sheets("consultation1"), Sheets("consultation2"))
'
With ws
.Range("A2") = TextBox1.Value
.Range("B2") = TextBox2.Value
End With
'
End Sub
L'ordi est très rapide mais il faut lui donner les infos au bon moment!
A+