VBA Word : Adding picture from internet

H

HangOn

I'm using MS-Word 2000. I try to add a picture from a site by using Tools -
Macro - Record New Macro and here is the code that I have:

Selection.InlineShapes.AddPicture FileName:= _
"http://www.blgcanada.com/SharedLinks/VDufour.tif", LinkToFile:= _
False, SaveWithDocument:=True

But when I try to run this code, nothing is happen, the picture doesn't
appear.

Could you please help me out. Thanks
 
K

Klaus Linke

HangOn said:
I'm using MS-Word 2000. I try to add a picture from a site by using
Tools -
Macro - Record New Macro and here is the code that I have:

Selection.InlineShapes.AddPicture FileName:= _
"http://www.blgcanada.com/SharedLinks/VDufour.tif", LinkToFile:= _
False, SaveWithDocument:=True

But when I try to run this code, nothing is happen, the picture doesn't
appear.

Could you please help me out. Thanks


Works fine for me (... Word2003, though).

You're sure the TIF file still exists, and you have access to it?
You don't get any error message?

If you use Edit > Find and look for the picture (Search for: ^g), nothing is
selected?

Regards,
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top