
Step 4: Click the Run Sub button to run the script. ' Remove the hyperlinks from that document ' Removes all hyperlinks from any open documents Sub KillTheHyperlinksInAllOpenDocuments() Sometimes, Microsoft Word adds clickable links where you don't want them (i.e., citations). Just type the under words into Module window. Hyperlinks are clickable links within a document that will take you to a selected web page. If you want to remove the hyperlinks in all opened Word documents.

Note: The above codes are to remove hyperlinks in current Word document. ' Shut this off, don't need anymore popping upĪ = False ' Removes all hyperlinks from the document:

Remove hyperlink in word python how to#
Step 3: Copy and paste the following VBA code into the Module window. How to find hyperlinks in a word document Stack Overflow - Microsoft Word is primarily used for creating traditional word processing documents, but it also allows you to work with hyperlinks and. Step 2: Click the Insert item on the top bar of the coming window, select Module in the next menu list. Step 1: Open the target Word document, then press Alt+F11 keys at same time to open Microsoft Visual Basic for Application. Step 1: Select the target Word document, then press Ctrl+ A key at same time. In the coming menu list, click Remove Hyperlink. Step 1: Launch the Word, find and right-click the hyperlink.

Here I would demonstrate some ways to remove hyperlinks in Word. Sometimes this is funny, but sometimes not, so you may want to find some ways to remove all hyperlinks in Word. Sometimes you may find some Microsoft Office Word documents from your colleagues contain some hyperlinks, once you click the hyperlink, you would be directly linked to some websites.
