Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default doesnt become Hyperlink

can i have it to when i enter an email address it DOESNT become a hyperlink?
i tried to find an option to turn it off but cant find one.

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default doesnt become Hyperlink

choice,

Two options that I can find. In XL 2003 in Tools AutoCorrect Options
AutoFormat as You Type you can turn it off. I don't know in which version
this became available.

Or you could use a WorkSheet_Change event. This checks any entry in Column
B. If it has a hyperlink with an "@" somewhere in it, the hyperlink is
deleted:

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:B")) Is Nothing Then
If Target.Hyperlinks.Count 0 And InStr(Target, "@") < 0 Then
Target.Hyperlinks.Delete
End If
End If
End Sub

In order to use this, paste the code into a worksheet module in the VBE.

hth,

Doug

"choice" wrote in message
...
can i have it to when i enter an email address it DOESNT become a
hyperlink?
i tried to find an option to turn it off but cant find one.

Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default doesnt become Hyperlink

In xl2002+, you can turn this off via:

Tools|autocorrect options|autoformat as you type
uncheck the "internet and network paths with hyperlinks"

choice wrote:

can i have it to when i enter an email address it DOESNT become a hyperlink?
i tried to find an option to turn it off but cant find one.

Thanks in advance


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why doesnt this work? MurrayBarn Excel Worksheet Functions 2 November 19th 09 04:21 PM
Why doesnt this work steve New Users to Excel 1 March 3rd 08 04:52 PM
Error 91 - Sometimes happens, sometimes it doesnt. BerkshireGuy[_2_] Excel Programming 5 June 15th 05 01:14 AM
TAB Key doesnt work. Murat D. Hekimošlu Excel Programming 1 January 25th 05 10:48 AM


All times are GMT +1. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"