I have an MS Word document which has several links that don't show up as links. Hovering over the text shows the target URL, and if I right click to Edit Hyperlink, I can see the URL and the text shown for the hyperlink. However, the link boundaries are not visually apparent in the document.
I can use the Format painter to copy styling from a new and properly styled hyperlink to each one of these improperly formatted ones, but that will take a long time as there are many hyperlinks in my document and their edges are hard to find (this is the problem). How can I get ALL the links in my document to look like links?
Helpful info: when I click to place the cursor in one of these links and open the Styles pane (Alt+Ctrl+Shift+S or in the Home tab, click the arrow in the lower right corner of Styles), I can see their Style is Standard rather than Hyperlink.
Best Answer
With the document open, press Alt+F11 to get the Visual Basic editor window.
Choose Insert -> Module to get a blank code editor and paste in the following:
Then highlight this code and press Run (or F5).
As with any macro, you should probably save the document before running.
If you want to customize the hyperlink style for the whole document:
You can save the code module in Normal instead of the specific document and even assign a toolbar button or keyboard shortcut if you want to use it on a bunch of documents more quickly. You can also change the Style alterations in the Normal template if you want them to apply to new documents as well.