Sub Test_AutoShape()
Dim shp As Shape, obj As Object
On Error Resume Next
Set obj = Selection.ShapeRange(1)
If obj Is Nothing Then
MsgBox "Aucune forme n'est sélectionnée!", vbCritical
Else
For Each shp In ActiveSheet.Shapes
If shp Is obj Then
MsgBox "Nom de forme sélectionnée: " & shp.Name, vbInformation
End If
Next
End If
End Sub