bjrs à tous,
j'ai développé une macro comme suivant
mon problème c'est que j'ai 20 commandbutton dans mon userform et je ne veux pas refaire la macro pour chaque bouton.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 Private Sub CommandButton1_Click() Dim article As String article = UFMZ.CommandButton1.Caption UFQP.L1.Caption = article UFQP.Show End Sub
est ce qu'il y a une méthode; je compte sur vos aides.
merci devellopeurs,
Partager