I need expert MS Excel help please

AlexGT

Flashlight Enthusiast
Joined
Jan 15, 2001
Messages
3,651
Location
Houston, Texas
I am trying to do a small excel sheet and I need a function or macro that can display pictures from a list of hyperlinks or excel embeded images (gif,jpg) without having to manually click on the hyperlink.

Say on one cell I type http://www.edhelperclipart.com/clipart/time/Time1205.gif and a function or macro in another cell should automatically bring up the image the hyperlink refers to as an excel embedded object.

I consider myself very good at Excel, but can't figure that one out. Any ideas as to what function or macro should I use to achieve my goal?

Thanks!
AlexGT
 

chrwe

Newly Enlightened
Joined
Dec 23, 2005
Messages
141
Location
Northern Germany
Never done that, but it shouldn't be too hard:

Code:
Private Sub Worksheet_Change(ByVal Target As Range)

Dim monitoredFields As Range
Set monitoredFields = Range("A1:A1")

If Intersect(Target, monitoredFields) Is Nothing Then
Exit Sub
Else
'put code to embed object here
End If

End Sub
 
Top