#1   Report Post  
Jim
 
Posts: n/a
Default Relative File Path

I have an excel spreadsheet that contains calculations and a Word document
that has a number of link references to it within the text of a report.
Everything works fine and the excel sheets show up in the report as another
page with headers and footers and correct page numbers etc.

The problem occurs when I want to copy the two files to another project
subdirectory and then try to make chnges to both. All the links in the Word
document still refer back to the original excel spreadsheet back in the
first project subdirectory. I have to manually repoint all the links to the
new project subdirectory. Is there any way to cause the link to be to a
relative address, that is make it look for the excel file in the same
directory that contains the Word file? I can only figure out how to tell it
absolute addresses of links

I will also post this in the Excel group..


  #2   Report Post  
Shauna Kelly
 
Posts: n/a
Default

Hi Jim

If you do Alt-F9, you will expose all the field codes in the document. You
can then search and replace the text within the field codes. So the simplest
solution might be to search for the old path name and replace with the new
path name. Alt-F9 toggles between field results and field codes and F9
updates a field.

You can also edit the field codes to use relative paths. But Word sometimes
prefers absolute paths, so test thoroughly.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"Jim" wrote in message
nk.net...
I have an excel spreadsheet that contains calculations and a Word document
that has a number of link references to it within the text of a report.
Everything works fine and the excel sheets show up in the report as
another
page with headers and footers and correct page numbers etc.

The problem occurs when I want to copy the two files to another project
subdirectory and then try to make chnges to both. All the links in the
Word
document still refer back to the original excel spreadsheet back in the
first project subdirectory. I have to manually repoint all the links to
the
new project subdirectory. Is there any way to cause the link to be to a
relative address, that is make it look for the excel file in the same
directory that contains the Word file? I can only figure out how to tell
it
absolute addresses of links

I will also post this in the Excel group..




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to creat relative and shorthand file path names? 2dogs Microsoft Word Help 1 May 15th 05 12:11 PM
How to create relative and shorthand file path names 2dogs Microsoft Word Help 4 May 14th 05 08:49 PM
file name and path footer? Legal Learning Microsoft Word Help 0 January 20th 05 04:25 PM
Relative path in LINK field ? Timvdv Microsoft Word Help 2 January 17th 05 11:41 AM
how to make a relative path in a hyperlink in a word-html file? Word Hyperlinks Microsoft Word Help 1 December 15th 04 02:31 PM


All times are GMT +1. The time now is 05:14 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"