Bonjour,
j'ai une erreur dans ma macro excel destiné a affiché une image lorsue la cellule C5 comporte certains mots ,
Mon code est :
'Dim objFeuille As Worksheet, objPict As Picture
If Worksheets("Sheet1").Range("C5").Value = "inverseur" Then
Set objFeuille = ActiveSheet
Set objPict =
objFeuille.Pictures.Insert("C:\Users\Dorian\Docume
nts\screenshots") 
With objPict
.Left = Range("G2").Left
.Top = Range("G2").Top
End With
End If
End Sub
J'ai une erreur 1004 :
"Unable to get the insert property of the picture class" qui semble venir de la ligne avec le smiley
Quelqu'un a une idée
?