VBA,Word 2003: Load Image per HTTP and insert into document

S

Sven W.

Hi there,

is it possible to load an image via HTTP and insert it into a document as
object ? This should replace the procedure "insert graphic/object" method.
The graphic should stay as a graphic object within the document, not just as
a link.

Regards
Sven
 
C

Cindy M.

Hi Sven,
is it possible to load an image via HTTP and insert it into a document as
object ? This should replace the procedure "insert graphic/object" method.
The graphic should stay as a graphic object within the document, not just as
a link.
No, Word has no provision for "streaming" graphics into a document. Closest you
could get would be to put it on the Clipboard then use Paste to put it into the
document.

Or you might be able to transform whatever it is you're thinking of into
WordProcessingML then write that into the document using the XML property of
the Range object. If you want to research that I recommend the
OpenXMLDeveloper.org site.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
N

Neil Cumfer

You can insert an image from a web page into a document as an
InlineShape opbject

Selection.InlineShapes.AddPicture
FileName:="http://efriendly.com/becove1.jpg", LinkToFile:=False,
SaveWithDocument:=True

maybe this would work for your purposes
 

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