Step 4: Click the Run Sub button to run the script. Hopefully, this useful Word Document shortcut cheat sheet list can save you hours when writing your pages of reports. ' Remove the hyperlinks from that document Applicable to Microsoft Word 2010, 2013, 2016, Word 2019 and Office 365. Note: the box show field codes instead of their values was already unchecked in my computer, so I just had to click on OK. ' Removes all hyperlinks from any open documents Scroll down and in the section show document content uncheck show field codes instead of their values. Sub KillTheHyperlinksInAllOpenDocuments() Just type the under words into Module window. If you want to remove the hyperlinks in all opened Word documents. Note: The above codes are to remove hyperlinks in current Word document. Using the options on the left side, you can choose to link to a file, webpage, email. You can also get to this dialog box from the Insert tab by clicking Hyperlink. The Insert Hyperlink dialog box will open. You can also right-click in a blank area of the document and click Hyperlink. ' Shut this off, don't need anymore popping upĪ = False Right-click the selected text or image, then click Hyperlink. ' Removes all hyperlinks from the document:
Keyboard shortcut to remove hyperlink in word 2010 code#
Step 3: Copy and paste the following VBA code into the Module window. 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. That should be fine, unless you’re that guy who puts dumb shit in word documents that shouldn’t be there. Note: Performing this operation converts all fields (not just hyperlinks) to plain text. In the coming menu list, click Remove Hyperlink. To remove all hyperlinks in a document: press CTRL+A to select the entire document. 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.