bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Online and Web > Hyperlinks > Unwanted Hyperlinks

Unwanted Hyperlinks

Summary: Enter a URL or an e-mail address into a cell, and Excel helpfully converts it into a hyperlink that you can click to activate. If you don’t want this to occur, there are several approaches you can take, as described in this tip. (This tip works with Microsoft Excel 2000, Excel 2002, and Excel 2003.)

One of the things that Microsoft did in pursuing "Internet enabled applications" was to force, beginning with Excel 2000, the program to recognize URLs and e-mail addresses as something special. When you input one of these, Excel automatically formats it as an active hyperlink, and may even start some other program, such as your e-mail client or a browser.

This behavior can be rather bothersome, particularly if you need to enter quite a few e-mail addresses or URLs in Excel. Unfortunately, there is no way to turn off this automatic formatting in Excel 2000, as there is in Word. (If you go to Word and turn off the AutoFormat As You Type setting for Internet addresses, it has no effect in Excel, either.)

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 awyatt@dcomp.com, I would enter 'awyatt@dcomp.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, follow these steps:

  1. Right-click on the hyperlink. Excel displays a Context menu.
  2. Choose Hyperlink from the Context menu, and then Edit Hyperlink from the submenu. Excel displays the Edit Hyperlink dialog box. (Click here to see a related figure.)
  3. Click on the Remove Link button at the bottom of the dialog box.

In Excel 2002, Microsoft added the capability to turn off automatic hyperlink creation. This can be done by following these steps, which work in both Excel 2002 and Excel 2003:

  1. Choose AutoCorrect Options from the Tools menu. Excel displays the AutoCorrect Options dialog box.
  2. Make sure the AutoFormat As You Type tab is selected. (Click here to see a related figure.)
  3. Clear the Internet and Network Paths with Hyperlinks check box.
  4. Click on OK.

Tip #2803 applies to Microsoft Excel versions: 2000 | 2002 | 2003


More Power! For some people, the prospect of creating macros can be scary. Those who conquer their fears, however, find they become much more confident and productive once they learn how to make Excel do exactly what they want. ExcelTips: The Macros is an invaluable source for learning Excel macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of ExcelTips. Learn at your own pace, exactly the way you want.
 
Check out ExcelTips: The Macros today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

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

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)