Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Arranging Document Windows

Specifying a Backup Location

Controlling Chart Gridlines

Merging Table Cells

Collapsing and Expanding Subdocuments

Zooming With the Keyboard

Initiating a New Search

 

Getting Rid of Many Hyperlinks

Summary: Need to get rid of hyperlinks that result when you paste information from the Internet into your document? Here's the ways you can go about getting rid of them. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

Do you create documents by pasting information that was copied from the Internet? This is not unusual for some people, as there is quite a bit of public-domain information that can be copied from the Internet. When you paste your information into a document, you may notice that there are quite a few hyperlinks in your documents. What if you want to get rid of those hyperlinks?

There are several ways you can approach this problem. One of the easiest ways is to simply change how you paste your information. If you do a simply Ctrl+V to paste, then Word tries to retain as much of the formatting and other attributes of the original text as it can, including hyperlinks. (This is not to say that hyperlinks are strictly formatting; they are not. They are really fields—but more on that in a moment.)

Instead of pasting using Ctrl+V, use Paste Special to paste Unformatted Text. (You use Paste Special in versions of Word prior to Word 2007 by choosing Edit | Paste Special. In Word 2007 you display the Home tab of the ribbon, click the down arrow under the Paste tool, and then choose Paste Special.) Word then inserts the information as plain text, without any formatting. It also does not make hyperlinks active in the document. After pasting in this method, you can proceed to format the text as you want.

Another solution is to convert all the hyperlinks to regular text. After doing your paste, press Ctrl+A to select the entire document, and then press Ctrl+Shift+F9. As was mentioned earlier, hyperlinks are implemented through the use of fields. If you press Ctrl+Shift+F9, then any selected fields are converted to their results, and the fields are removed. Thus, the hyperlinks are removed.

There are two drawbacks to this approach. First, not only are the hyperlinks removed, but so are all the other fields in your document. (If you have other fields, you should understand that they will be affected, as well.) The second drawback is that the formatting of your hyperlinks is still there—they show as blue and underlined.

The first drawback is easy to compensate for, provided you don't mind using a macro. The following macro quickly removes all hyperlinks in a document, without affecting any other fields:

Sub KillLinks()
    Do Until ActiveDocument.Hyperlinks.Count = 0
        ActiveDocument.Hyperlinks(1).Delete
    Loop
End Sub

Even after running the macro, the formatting issue still remains—they hyperlinks are formatted as blue and underlined. You can get rid of the formatting by using the Find and Replace feature of Word, but how you use it depends on how the hyperlinks were created.

When you are typing in a document and you type some sort of recognizable electronic address (an e-mail address or a URL), Word automatically formats the address using the Hyperlink style. In that case, you can search for any text using the Hyperlink style, and replace it without the Hyperlink style. (Remember—this doesn't remove the hyperlink, just the Hyperlink style.)

When you paste information in a document, the hyperlinks are formatted differently; Word doesn't use styles to format them. Instead, it formats the hyperlinks explicitly as blue and underlined. In this case, you need to search explicitly for blue and underlined text and replace it with text that is not blue and not underlined.

Tip #3845 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

Step Up and Take Control! Subscribers to WordTips know just how valuable a resource it is. WordTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on WordTips archives and e-books.
 
Check out WordTips Premium today!