Solved

Update Links

Posted on 2011-09-29
4
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:BusyMama
ID: 36816881
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
ID: 36817640
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
ID: 36965243
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
ID: 36965376
Perfect!  Exactly what I was looking for.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Authors who set out to write any sort of lengthy piece for online submission—be it a long question or comment on a technical form, an article, or a substantial blog entry—often find it useful to work up a draft in an editor other t…
Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
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:
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

733 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