Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2025, 12:49 PM
Itsjustbeej Itsjustbeej is offline Convert all hyperlinks to ordinary text Windows 10 Convert all hyperlinks to ordinary text Office 2016
Novice
Convert all hyperlinks to ordinary text
 
Join Date: Apr 2021
Location: NC
Posts: 16
Itsjustbeej is on a distinguished road
Default Convert all hyperlinks to ordinary text

Hi folks,



We have a bunch of documents with many hyperlinks in them. We now need to reuse these documents but without the hyperlinks. Currently I'm manually converting them to regular text by toggling the field codes and then finding "HYPERLINK," then hitting Ctrl+Shift+F9 to convert the field code to text. Then I find the next one and repeat.

Is there a faster, easier way to do this?

Thanks in advance.
Reply With Quote
  #2  
Old 09-30-2025, 02:28 PM
macropod's Avatar
macropod macropod is offline Convert all hyperlinks to ordinary text Windows 10 Convert all hyperlinks to ordinary text Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Ctrl-A,then Ctrl-Shift-F9 will convert all fields to text.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-01-2025, 06:08 AM
Itsjustbeej Itsjustbeej is offline Convert all hyperlinks to ordinary text Windows 10 Convert all hyperlinks to ordinary text Office 2016
Novice
Convert all hyperlinks to ordinary text
 
Join Date: Apr 2021
Location: NC
Posts: 16
Itsjustbeej is on a distinguished road
Default

Thank you, but I should have been clearer. These documents also have dozens of other fields--TOCs, cross-references, table and figure numbers, etc. We can't just turn all fields to text.
Reply With Quote
  #4  
Old 10-01-2025, 12:58 PM
Itsjustbeej Itsjustbeej is offline Convert all hyperlinks to ordinary text Windows 10 Convert all hyperlinks to ordinary text Office 2016
Novice
Convert all hyperlinks to ordinary text
 
Join Date: Apr 2021
Location: NC
Posts: 16
Itsjustbeej is on a distinguished road
Default

Thank you!
Reply With Quote
  #5  
Old 10-01-2025, 09:24 AM
gmayor's Avatar
gmayor gmayor is offline Convert all hyperlinks to ordinary text Windows 10 Convert all hyperlinks to ordinary text Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The following simple macro should do that
Code:
Sub Macro1()
Dim oFld As Field
    For Each oFld In ActiveDocument.Fields
        If oFld.Type = wdFieldHyperlink Then
            oFld.Unlink
        End If
    Next oFld
End Sub
Installing Macros
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert all hyperlinks to ordinary text Convert Folder paths to Hyperlinks PhilS Word 3 01-04-2022 10:18 AM
Convert all hyperlinks to ordinary text Convert many hyperlinks to the actual url, document-wide, not individually enso Word VBA 4 02-25-2021 05:19 PM
Convert all hyperlinks to ordinary text Convert html links into embedded hyperlinks njcloud Mail Merge 23 02-04-2020 02:00 PM
Convert all hyperlinks to ordinary text use of search/navigation bar - I want ordinary Find dialog LeoLes Word 2 01-15-2017 08:16 AM
Convert Hyperlinks to ahref dan88 Word VBA 2 05-09-2016 06:19 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:05 AM.


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