Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2017, 09:53 AM
ewso ewso is offline remove all hyperlink text Windows 10 remove all hyperlink text Office 2016
Advanced Beginner
remove all hyperlink text
 
Join Date: Nov 2016
Posts: 80
ewso is on a distinguished road
Default remove all hyperlink text

I want to remove all the text that is hyperlinked in my document, not just the hyperlinks, but the text that is hyperlinked. Can I do this?

thanks
Reply With Quote
  #2  
Old 04-05-2017, 02:26 PM
macropod's Avatar
macropod macropod is offline remove all hyperlink text Windows 7 64bit remove all hyperlink text Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can do that via Find/Replace. First, press Alt-F9 to switch Word's field code display 'on'. Then use Find/Replace with:
Find = ^d HYPERLINK
Replace = nothing
Finally, press Alt-F9 again to switch Word's field code display 'off'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-05-2017, 03:23 PM
ewso ewso is offline remove all hyperlink text Windows 10 remove all hyperlink text Office 2016
Advanced Beginner
remove all hyperlink text
 
Join Date: Nov 2016
Posts: 80
ewso is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You can do that via Find/Replace. First, press Alt-F9 to switch Word's field code display 'on'. Then use Find/Replace with:
Find = ^d HYPERLINK
Replace = nothing
Finally, press Alt-F9 again to switch Word's field code display 'off'.
it works! One other thing is that all the hyperlinks are in parenthesis. Is there a way to also remove all the parenthesis in the document that enclose the hyperlinks?

thanks macropod
Reply With Quote
  #4  
Old 04-05-2017, 04:53 PM
macropod's Avatar
macropod macropod is offline remove all hyperlink text Windows 7 64bit remove all hyperlink text Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could do that in two steps using Find/Replace: first delete the hyperlinks; then delete the empty parentheses.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 04-05-2017, 05:08 PM
ewso ewso is offline remove all hyperlink text Windows 10 remove all hyperlink text Office 2016
Advanced Beginner
remove all hyperlink text
 
Join Date: Nov 2016
Posts: 80
ewso is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You could do that in two steps using Find/Replace: first delete the hyperlinks; then delete the empty parentheses.
ok, I was thinking it might be able to be done in one step, but I don't mind two. Do you know if there is a way to delete only the hyperlinks that are in parenthesis and no others?
Reply With Quote
  #6  
Old 04-05-2017, 05:18 PM
macropod's Avatar
macropod macropod is offline remove all hyperlink text Windows 7 64bit remove all hyperlink text Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

For that, you could still do two F/R operations:
Find = (^d HYPERLINK
Replace = (
Find = ()
Replace = nothing
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Hyperlink in Rules before forwaerding e-mail meleprinting Outlook 0 06-29-2016 09:30 AM
VBA Search Table for Text/Select Text/Insert Hyperlink sldrellich Word VBA 3 03-24-2015 01:09 PM
remove all hyperlink text Remove Hyperlink RobDavis Word VBA 8 12-09-2013 05:51 PM
remove all hyperlink text Need help on Macro 03- Find text - if text is blank then remove line simpleonline1234 Word VBA 1 02-25-2011 02:28 AM
How to remove the UNDERLINE from a hyperlink text? Learner7 PowerPoint 3 05-17-2010 09:35 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft