Bonjour
Je souhaiterais savoir s'il est possible d'inserer une image avec la propriete move and size with cells
Voici mon code pour l'instant
Sub insert_image_Story() 'Inserer l'image storyboard
Dim lepath As String, Limage As String
Dim NewImg As Object
Application.ScreenUpdating = False
lepath = Left(ActiveWorkbook.Path, InStrRev(ActiveWorkbook.Path, "\")) & "05_Storyboard\Screens\"
Limage = ActiveCell.Offset(-2, 1).Value
Set NewImg = ActiveSheet.Pictures.Insert(lepath & "Ecran_ (" & Limage & ").png")
With NewImg
.ShapeRange.Left = ActiveCell.Left
.ShapeRange.Top = ActiveCell.Top
.Height = ActiveCell.Height
.Width = 375
ActiveCell.Offset(0, 1).Select
End With
End Sub
Merci beaucoup pour votre aide