Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Unwanted Hyperlinks.

Unwanted Hyperlinks

by Allen Wyatt
(last updated September 28, 2019)

1

One of the things that Excel does automatically is to recognize URLs and e-mail addresses as something special. When you input one of these, Excel formats it as an active hyperlink. This behavior can be rather bothersome, particularly if you need to enter quite a few e-mail addresses or URLs in Excel.

There are several ways you can get around this behavior. The first (and perhaps easiest method) is to simply change the way in which you input URLs and e-mail addresses. When you enter one, start it with an apostrophe. Thus, instead of entering jdoe@xyz.com, I would enter 'jdoe@xyz.com. The only difference is the leading apostrophe. Excel does not display the apostrophe in the worksheet, only in the formula bar. In addition, the address is treated like any other text in the worksheet.

The second method is to go ahead and input your address (e-mail or URL) as you normally would. When you press Enter or Tab to move to the next cell, Excel formats the address as a hyperlink. If you immediately press Ctrl+Z, the hyperlink is removed, but the address remains.

Another method is to simply remove the hyperlink after it is created by Excel. To do this, just right-click on the hyperlink and then choose Remove Hyperlink from the resulting Context menu.

You can also turn off automatic hyperlink creation. Follow these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 or a later version, display the File tab of the ribbon and then click Options.)
  2. Click Proofing at the left side of the dialog box.
  3. Click AutoCorrect Options. Excel displays the AutoCorrect dialog box.
  4. Make sure the AutoFormat As You Type tab is selected. (See Figure 1.)
  5. Figure 1. The AutoFormat As You Type tab of the AutoCorrect dialog box.

  6. Clear the Internet and Network Paths with Hyperlinks check box.
  7. Click OK to close the AutoCorrect dialog box.
  8. Click OK to close the Excel Options dialog box.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8666) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Unwanted Hyperlinks.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Changing Text in a Comment

Word has a very powerful find-and-replace capability, but it can be a bit persnickety when it comes to changing text ...

Discover More

Converting from Relative to Absolute

Addresses used in a formula can be either relative or absolute. If you need to switch between the two types of ...

Discover More

Returning Item Codes Instead of Item Names

The data validation capabilities of Excel are really handy when you want to limit what is put into a cell. However, you ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

References to Hyperlinks aren't Hyperlinks

Make a reference to a hyperlink in a formula, and you may be surprised that the reference doesn't return an active ...

Discover More

Updating Links

When you establish links between data on a target worksheet and data on a source worksheet, those links are typically ...

Discover More

Finding Wayward Links

Combining workbooks that have cross-links to each other can offer some special challenges. This tip examines how you can ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 8?

2019-09-29 19:37:51

Peter McNab

Thanks for the tip about Ctrl-z.
I have noticed a similar behaviour in Word, but I guess it can be used constructively for any automatic formatting in Office.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.