Sub Inserer_traca()
Dim Emplacement As Range
Dim Img As Object
Dim ShapeObj As Shape
Worksheets("EFNC").Protect Password:="UAPM", UserInterfaceOnly:=True
If Application.Dialogs(xlDialogInsertPicture).Show Then
'Définit l'emplacement de l'image
Set Emplacement = Range("E19:J24")
Set Img = ActiveSheet.DrawingObjects(ActiveSheet.DrawingObjects.Count)
With Img.ShapeRange
'Nommer l'image insérée (Pour la supprimer plus facilement ensuite)
.Name = "Cible"
.LockAspectRatio = msoFalse
.Left = Emplacement.Left
.Top = Emplacement.Top
.Height = Emplacement.Height
.Width = Emplacement.Width
End With
Else
MsgBox "Insertion d'image interrompue."
End If
End Sub