Solved

Update Links

Posted on 2011-09-29
4
262 Views
Last Modified: 2012-05-12
Experts,

I have a word doc with many hyperlinks to other excel documents.
The path to those excel documents have changed.

How can I update all of the links?  

(I know I can hit control A then F9 to update links but that only works if the links paths have not chagned but in this case they have changed)

thanks
0
Comment
Question by:pdvsa
  • 2
4 Comments
 
LVL 7

Expert Comment

by:BusyMama
Comment Utility
Typically, you right click on the hyperlink and choose Edit Hyperlink.

Then you can navigate to the correct location of the document and click OK once you find it.

Does that help, or are you asking for something more complex?
0
 

Author Comment

by:pdvsa
Comment Utility
Yes, i was aware of that but i have so many links that i was loiking for a more efficient wat to do?
0
 
LVL 21

Accepted Solution

by:
EricFletcher earned 500 total points
Comment Utility
Toggle the view to see the field codes instead of the results (Alt-F9), then use Find and Replace to change the path in the link. This works best if all of the paths are consistently changed -- as happens if you move everything to a different drive or folder. You can copy the path from one of your links so you can paste it into the Find What box; type the new path in the Replace With box using the same naming conventions (i.e. \\ instead of / for path separators, etc.)

For example, a typical link to a named range in one of my Excel files looks like this:
{ LINK Excel.Sheet.12 "D:\\My Documents\\Portfolio value.xlsx" "4 Aug 2011!summaryReport" \a \f 5 \h  \* MERGEFORMAT }

If I move the Excel document to a folder named "C:\Users\Eric\Documents\Finance\Current" the link field will need to become:
{ LINK Excel.Sheet.12 "C:\\Users\\Eric\\Documents\\Finance\\CurrentPortfolio value.xlsx" "4 Aug 2011!summaryReport" \a \f 5 \h  \* MERGEFORMAT }
Within Word, I would use the Find and Replace dialog with
Find what: D:\\My Documents\\
Replace with: C:\\Users\\Eric\\Documents\\Finance\\

Clicking Replace All would change the paths within all LINK fields. Alt-F9 toggles back to the results view, then Ctrl-A to select all and F9 to recalculate the links using the new paths.

If you have other field codes that may be using the same path and should not be changed, click Replace and Find Next in the dialog to skip ones that don't apply.

0
 

Author Closing Comment

by:pdvsa
Comment Utility
Perfect!  Exactly what I was looking for.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my l…
Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now