Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to *not* highlight, color, and underline web and email addresses?

Status
Not open for further replies.

jsteph

Technical User
Oct 24, 2002
2,562
US
Hi all,
I have an excel sheet where I'm storing email and web addresses, and I need to edit existing data a fair amount, also need to copy/paste portions of some data to other cells.

The problem is that when Excel does that thing where it 'automatically' creates a hyperlink, it makes it difficult to edit.

I can't find an option that seems to fit that behaviour which I could turn off.
The purpose of this spreadheet is not to be a web page (I didn't think Excel was ever meant for that) so I don't need people linking directly from this excel sheet to the web or email.
Thanks,
--Jim
 

If you right click the cell, you can select the option to remove the hyperlink.


Randy
 
Hi,

You have not said which version of Excel you are using, but anyway this may be of assistance:


This is a great site!

I also did a search on "Stop hyperlinks" (top right corner of screen) here for some other approaches if this does not cover your needs.

Good Luck.

Peter Moran
 


Hi,

This procedure will delete all hyperlinks in the active workbook.
Code:
Sub RemoveHLs()
    Dim ws As Worksheet, hl As Hyperlink
    
    For Each ws In ActiveWorkbook.Worksheets
        For Each hl In ws.Hyperlinks
            hl.Delete
        Next
    Next
End Sub

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Auto Link Generation is a function of Auto Correct.
You can turn off the Auto Correct option for email addresses and web addresses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top