Hi ferverx,
Welcome to vbax, glad to see a Latvian here!
There is a way to do this, but it may not be what you're looking for. It would use VBA to download the picture to your hard drive, insert it from there, then delete the file. I'm not aware of another way to do that. Would this be an option for you?
If so, paste the following into the worksheet object code pane:
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Range("A1"), Target) Is Nothing Then Exit Sub
Application.EnableEvents = False
Application.ScreenUpdating = False
Dim ImageLoc As String, TempImageFile As String
ImageLoc = Range("A1").Text
TempImageFile = "C:\temp" & Right(ImageLoc, 4)
SaveWebFile ImageLoc, TempImageFile
Image1.Picture = LoadPicture(TempImageFile)
Kill TempImageFile
Application.ScreenUpdating = True
Application.EnableEvents = True
End Sub
Function SaveWebFile(ByVal vWebFile As String, ByVal vLocalFile As String) As Boolean
Dim oXMLHTTP As Object, i As Long, vFF As Long, oResp() As Byte
Set oXMLHTTP = CreateObject("msxml2.xmlhttp")
oXMLHTTP.Open "GET", vWebFile, False
oXMLHTTP.Send
Do While oXMLHTTP.ReadyState <> 4
DoEvents
Loop
oResp = oXMLHTTP.ResponseBody
vFF = FreeFile
If Dir(vLocalFile) <> "" Then Kill vLocalFile
Open vLocalFile For Binary As #vFF
Put #vFF, , oResp
Close #vFF
Set oXMLHTTP = Nothing
End Function
Atta!
Matt