We've all done it at one point or another and accidentally changed the style of an important element in a Microsoft Word document we're working on. It can be easy to fix if it is something small, but what if it's not that simple? Today's Super User Q&A Post Provides Some Quick And Easy Methods To Help Repair A Reader's Microsoft Word Document.
Today's Q&A session comes to us courtesy of SuperUser, a subdivision of Stack Exchange, a community-driven grouping of question and answer websites.
The question
Rox superuser reader wants to know how to return all hyperlinks in a Microsoft Word document to their original blue underlined text style:
I selected all the text in a Microsoft Word document and set the font color to black (what did i want to do). I didn't realize until it was too late that the document had hyperlinks (multiple pages in a very long document).
Now I can't tell where the hyperlinks are, even though i know they still work. Since there are so many hyperlinks, How can I return them to their default blue underline text style without slowly searching the entire document and converting each one individually?
Is there an easy way (and fast) to return all hyperlinks in a Microsoft Word document to their original blue underlined text style?
The solution
Superuser contributors Steven and Techie007 have the solution for us. First, Steven:
Resetting the style of all hyperlinks to original default needs a VBA macro.
Code
Steps
- press Alt + F11 to open Microsoft Visual Basic for Applications.
- Double click on This document.
- Paste the code from the above block into the editor.
- press F5 to run the code.
- Remove code from editor window to prevent Microsoft Word from saving with macros.
Followed by Techie007's solution:
Assuming the links still have the hyperlink style in the document (which they should be if all you did was change the font color):
- From the Home tab on the tape, choose Replace (below Edition) or use the keyboard shortcut Ctrl + H.
- Click on the More >> to expand the window.
- Click on the blank space Find that field near the top of the window.
- On the bottom, click on the Format drop down menu and select Style…
- Choose Hyperlink from the list in the new sub-window and press OK to close the window and return to the previous one.
- Click on the blank space Replace with countryside.
- On the bottom, click on the Format drop down menu and select Style… one more time.
- Choose Hyperlink from the list in the new sub-window once more and press OK to close the window and return to the previous one.
- Click on the Replace everything button.
Do you have anything to add to the explanation? Speak in the comments. Want to read more responses from other tech-savvy Stack Exchange users? Check out the full discussion thread here..