how do I automatically replace underlying test of a hyperlink

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can replace the text of the hyperlink by using Find and Replace, but how
can I get the underlying text of that hyperlink changed without going into
each hyperlink? Office 97 did it fine, Office 2003 does not.
 
stephany said:
I can replace the text of the hyperlink by using Find and Replace,
but how can I get the underlying text of that hyperlink changed
without going into each hyperlink? Office 97 did it fine, Office
2003 does not.

When you say the "underlying text", do you mean the URL of the destination?
If so:

Press Alt+F9 to display all field codes instead of field results. Then run
the F&R. Finally, Alt+F9 again to restore field results.
 
Fantastic! Thanks Jay.

Jay Freedman said:
When you say the "underlying text", do you mean the URL of the destination?
If so:

Press Alt+F9 to display all field codes instead of field results. Then run
the F&R. Finally, Alt+F9 again to restore field results.
 
And note that you may need to F9 to update the fields.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Yes.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
I followed the procedure, but it is not working.
It is displaying the old link
 
Did you find and replace BOTH the display text (with field codes not
displayed) AND the underlying URL (with field codes displayed), then F9 to
update?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Hi,
My problem is a bit different now.
When i do alt+F9, the url i see is different from the one i see in the
edit hyperlink box.
In the code view i see the url starting with ../ and not http://<the string
i want to replace>
Something to do with absolute and relative links.
Can you please tell me how to view the full url so that i can update them?
Thanks in advance,
Vikram
 
Why not just replace what you see with the correct URL?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
The problem is that if i replace ".." in the URL code,i am worried it might
have an effect elsewhere in the document.
I want to make sure that i replace only that string (the part of the full
URL visible in the dialogue box)
Is there a way to do this?
 
Replace the *entire* URL with the correct URL.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
I cannot replace the entire URL.
The issue here is that the first half eg "http://server_name/folder1../.."
is common in all URLs.
The second half keeps changing.
I need a way to work only on a part of the URLs.
Suzanne, I finished replacing all the URLs manually yesterday coz of the
deadline.
But, i would like to know the solution in case i get similar assignments in
future
 

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

Back
Top