Thursday, 4 April 2019

MS Word 2010: Link to object in a relative directory

I'm working in a Dropbox folder on a word document. I'd like to insert a pdf object which will be updated by a script separately. The problem is that the linked object in Insert > Object > Create from File is specified by an absolute path C:\Hugh\Dropbox\figures\foo.pdf. When someone else edits the file, and I return to the file, the object is corrupted and the link broken.


I'd like specify the path by a relative path ..\figures\foo.pdf (my Word document is in \Dropbox\thedoc.docx. What's the best practice to do this? I've tried typing ..\figures\foo.pdf but that fails.


Even a solution that requires the figures and docx file to be colocated in the same directory would be acceptable.

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...