
Sub InserisciImmagine()
Dim shp As ShapeRange
fName = Application.GetOpenFilename("Picture files (*.jpg;*.gif;*.bmp), *.jpgs;*.gif;*.bmp", , _
"Select the picture")
If fName = "False" Then Exit Sub
ActiveSheet.Shapes.AddPicture(fName, msoFalse, msoTrue, -1, -1, -1, -1).Select
Set shp = Selection.ShapeRange
'shp.Left = 50
'shp.Top = 30
Set shp = Nothing
End Sub |
