MsgBox Application.Caller
avec Application.caller j'obtiens 'bouton 29' et 'bouton30'.
MsgBox Feuil2.Shapes(Application.Caller).AlternativeText
Private Sub Worksheet_Activate()
Feuil2.Buttons.Delete
AjouterBouton "bouton1", 200
AjouterBouton "bouton2", 300
End Sub
Sub AfficheMessage()
MsgBox "Appel macro: " & Feuil2.DrawingObjects(Application.Caller).Text
End Sub
C'est exactement ce que je cherchais !
Merci.