Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 



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 05:18 PM.


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