Sub Logo_Truc()
'L Longre, mpfe
Dim FicTmp As String
FicTmp = Space(200)
GetTempFileNameA Environ("TMP"), "", 0, FicTmp
FicTmp = Left$(FicTmp, InStr(FicTmp, vbNullChar) - 1)
Worksheets("Paramètres").Range("K27").CopyPicture 'K27 cellule contenant l'image
OpenClipboard 0
DeleteEnhMetaFile CopyEnhMetaFileA(GetClipboardData(14), FicTmp)
CloseClipboard
With USF_MAGASIN
.img_Logo_Truc.Picture = LoadPicture(FicTmp)
Kill FicTmp
Exit Sub
End With
End Sub