AutoFormat many active URL links in Word file to display "Link"

B

BA

Thank you for reading this.

Is there any way to auto format multiple links in a Word documents to simply
say "Link", while of course retaining the underlying and correct URL address?

I have thousands of bibliographic citations that currently read likes this….

Higashi, Y., Chayama, K., and Yoshizumi, M.(2005) Angiotensin II type I
receptor blocker and endothelial function in humans: role of nitric oxide and
oxidative stress. Curr.Med.Chem.Cardiovasc.Hematol.Agents: (3) 133-148.
http://www.ncbi.nlm.nih.gov/pubmed/15853700

Gerritsen, M. E.(2005) Genetic variations in vascular endothelial growth
factor and endothelial nitric oxide synthase and their contributions to human
disease. Microcirculation.: (12) 129-140.
http://www.ncbi.nlm.nih.gov/pubmed/15825252


But for a Web Page project they need to read like this…

Higashi, Y., Chayama, K., and Yoshizumi, M.(2005) Angiotensin II type I
receptor blocker and endothelial function in humans: role of nitric oxide and
oxidative stress. Curr.Med.Chem.Cardiovasc.Hematol.Agents: (3) 133-148.
Link

Gerritsen, M. E.(2005) Genetic variations in vascular endothelial growth
factor and endothelial nitric oxide synthase and their contributions to human
disease. Microcirculation.: (12) 129-140.
Link


…while retaining the underlying and correct URL address, which is different
for each citation

Again, I know that I can go "Edit Hyperlink" and change the each display
name to "Link", but doing thousands of time seems daunting. I’ve tried
search/replace “wildcardâ€, but have not been successful.

Thank you,
 
R

Robert M. Franz (RMF)

Hello BA
Is there any way to auto format multiple links in a Word documents to simply
say "Link", while of course retaining the underlying and correct URL address?

I have thousands of bibliographic citations that currently read likes this….

Higashi, Y., Chayama, K., and Yoshizumi, M.(2005) Angiotensin II type I
receptor blocker and endothelial function in humans: role of nitric oxide and
oxidative stress. Curr.Med.Chem.Cardiovasc.Hematol.Agents: (3) 133-148.
http://www.ncbi.nlm.nih.gov/pubmed/15853700 [..]
But for a Web Page project they need to read like this…

Higashi, Y., Chayama, K., and Yoshizumi, M.(2005) Angiotensin II type I
receptor blocker and endothelial function in humans: role of nitric oxide and
oxidative stress. Curr.Med.Chem.Cardiovasc.Hematol.Agents: (3) 133-148.
Link [..]
…while retaining the underlying and correct URL address, which is different
for each citation

a "quick and dirty" macro to do that would be:

Sub changeHyperlinks()
Dim hl As Hyperlink
For Each hl In ActiveDocument.Hyperlinks
hl.TextToDisplay = "Link"
Next hl
End Sub

HTH
Robert
 

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

Top