Sub Fichier_Image()
Application.ScreenUpdating = False
With ActiveSheet.Shapes("Image 1") 'nom de l'image à adapter
.CopyPicture
With ActiveSheet.ChartObjects.Add(0, 0, .Width, .Height).Chart
Do
.Paste 'Coller
DoEvents
Loop While .Shapes.Count = 0 'en attente du collage
.Export ThisWorkbook.Path & "\Image.jpg", "JPG" 'création du fichier JPEG
.Parent.Delete
End With
End With
End Sub