File paths being altered

S

spc

I'm adding a picture to a document using the following;


Code
-------------------

Set pictureInline = Selection.InlineShapes.AddPicture( _
fileName:=txtFilename.Value, _
LinkToFile:=True, _
SaveWithDocument:=True)

-------------------


This works fine, but after I save the document, the file path to th
image has been altered from an absolute path to a relative one. Space
in the path are also replaced with %20.

Am I doing something wrong, or is this a problem with Word? (I'm usin
Word XP
 
W

Word Heretic

G'day spc <[email protected]>,

this is expected functionality for most of us. You need to make sure
the pix is in a completely separate path for the absolute to work.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


spc reckoned:
 

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