Sub Insertion_Images()
Dim c As Range
Application.ScreenUpdating = False
ActiveSheet.DrawingObjects.Delete
For Each c In Range("G2", Range("G" & Rows.Count).End(xlUp))
If Dir(CStr(c)) <> "" Then
With ActiveSheet.Pictures.Insert(c.Value).ShapeRange
.LockAspectRatio = True 'pour conserver les proportions de l'image
If .Height / .Width > c(1, 0).Height / c(1, 0).Width Then
.Height = c(1, 0).Height
.Top = c(1, 0).Top
.Left = c(1, 0).Left + (c(1, 0).Width - .Width) / 2
Else
.Width = c(1, 0).Width
.Left = c(1, 0).Left
.Top = c(1, 0).Top + (c(1, 0).Height - .Height) / 2
End If
End With
End If
Next
End Sub