
Tips.Net > ExcelTips Home > Online and Web > 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:
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:
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!
PivotTables don't need to be scary or mysterious. Use this powerful tool to analyze your data in ways you didn't know were possible. (more information...)
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
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