A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I make a field with email addresses hyper?



 
 
Thread Tools Display Modes
  #1  
Old August 6th, 2009, 04:44 PM posted to microsoft.public.excel.newusers
Christopher Glenn
external usenet poster
 
Posts: 2
Default How do I make a field with email addresses hyper?

[Using Excel 2002, SP3.]

I reviewed the Excel help file and could not find the answer. When I
type in a new email address, as per my options, it makes it hot.

But when I pasted in a set of raw text data, including email
addresses, they were not made hot. If I select the cells and click on
the Insert Hyperlink button, it does not make entries in that cell or
column hot. Instead it wants to link that cell or column to something
else it wants me to specify. How do I make a cell entry 'hot,' after
the fact? I also have a column of Facebook pages I need to make hot
as well.

Thank-you.

  #2  
Old August 6th, 2009, 06:31 PM posted to microsoft.public.excel.newusers
jamescox[_64_]
external usenet poster
 
Posts: 1
Default How do I make a field with email addresses hyper?


There may be a better way, but this works:

Select (click on or use the arrow keys to go to) the cell, press F2 and
then press the Enter key

Hope this helps.... :Bgr


--
jamescox
------------------------------------------------------------------------
jamescox's Profile: http://www.thecodecage.com/forumz/member.php?userid=449
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=123086

  #3  
Old August 6th, 2009, 07:15 PM posted to microsoft.public.excel.newusers
Gord Dibben
external usenet poster
 
Posts: 20,252
Default How do I make a field with email addresses hyper?

Sub MakeHyperlinks()
'David McRitchie
Dim Cell As Range
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
With Worksheets(1)
.Hyperlinks.Add anchor:=Cell, _
Address:=Cell.Value, _
ScreenTip:=Cell.Value, _
TextToDisplay:=Cell.Value
End With
Next Cell
End Sub


Gord Dibben MS Excel MVP

On Thu, 06 Aug 2009 08:44:58 -0700, Christopher Glenn wrote:

[Using Excel 2002, SP3.]

I reviewed the Excel help file and could not find the answer. When I
type in a new email address, as per my options, it makes it hot.

But when I pasted in a set of raw text data, including email
addresses, they were not made hot. If I select the cells and click on
the Insert Hyperlink button, it does not make entries in that cell or
column hot. Instead it wants to link that cell or column to something
else it wants me to specify. How do I make a cell entry 'hot,' after
the fact? I also have a column of Facebook pages I need to make hot
as well.

Thank-you.


  #4  
Old August 6th, 2009, 08:38 PM posted to microsoft.public.excel.newusers
Christopher Glenn
external usenet poster
 
Posts: 2
Default How do I make a field with email addresses hyper?

Thanks Gord, but I think I'll go with the newbie method. The F2+Enter
also automatically moves to the next cell down in the same row, so
it's quick work to do them.


On Thu, 06 Aug 2009 11:15:59 -0700, Gord Dibben gorddibbATshawDOTca
wrote:

Sub MakeHyperlinks()
'David McRitchie
Dim Cell As Range
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
With Worksheets(1)
.Hyperlinks.Add anchor:=Cell, _
Address:=Cell.Value, _
ScreenTip:=Cell.Value, _
TextToDisplay:=Cell.Value
End With
Next Cell
End Sub


Gord Dibben MS Excel MVP

On Thu, 06 Aug 2009 08:44:58 -0700, Christopher Glenn wrote:

[Using Excel 2002, SP3.]

I reviewed the Excel help file and could not find the answer. When I
type in a new email address, as per my options, it makes it hot.

But when I pasted in a set of raw text data, including email
addresses, they were not made hot. If I select the cells and click on
the Insert Hyperlink button, it does not make entries in that cell or
column hot. Instead it wants to link that cell or column to something
else it wants me to specify. How do I make a cell entry 'hot,' after
the fact? I also have a column of Facebook pages I need to make hot
as well.

Thank-you.


  #5  
Old August 6th, 2009, 08:49 PM posted to microsoft.public.excel.newusers
jamescox[_68_]
external usenet poster
 
Posts: 1
Default How do I make a field with email addresses hyper?


Just for future reference, I think Gord's method is meant to be used by
first selecting _all_ the cells that have the email address text in them
and then running the macro once.

The intersection described in

For Each Cell In Intersect(Selection,
Selection.SpecialCells(xlConstants, xlTextValues))

would pick up all cells of interest in a group of selected cells, even
if some of the selected cells had numbers or cell formulas in them
(that's done with the xlConstants and xlTextValue parameters to the
SpecialCells method)...


--
jamescox
------------------------------------------------------------------------
jamescox's Profile: http://www.thecodecage.com/forumz/member.php?userid=449
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=123086

  #6  
Old August 8th, 2009, 12:40 AM posted to microsoft.public.excel.newusers
Gord Dibben
external usenet poster
 
Posts: 20,252
Default How do I make a field with email addresses hyper?

Sorry

I should have explained that select all the pertinent cells first then run
the macro.


Gord

On Thu, 06 Aug 2009 12:38:34 -0700, Christopher Glenn wrote:

Thanks Gord, but I think I'll go with the newbie method. The F2+Enter
also automatically moves to the next cell down in the same row, so
it's quick work to do them.


On Thu, 06 Aug 2009 11:15:59 -0700, Gord Dibben gorddibbATshawDOTca
wrote:

Sub MakeHyperlinks()
'David McRitchie
Dim Cell As Range
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
With Worksheets(1)
.Hyperlinks.Add anchor:=Cell, _
Address:=Cell.Value, _
ScreenTip:=Cell.Value, _
TextToDisplay:=Cell.Value
End With
Next Cell
End Sub


Gord Dibben MS Excel MVP

On Thu, 06 Aug 2009 08:44:58 -0700, Christopher Glenn wrote:

[Using Excel 2002, SP3.]

I reviewed the Excel help file and could not find the answer. When I
type in a new email address, as per my options, it makes it hot.

But when I pasted in a set of raw text data, including email
addresses, they were not made hot. If I select the cells and click on
the Insert Hyperlink button, it does not make entries in that cell or
column hot. Instead it wants to link that cell or column to something
else it wants me to specify. How do I make a cell entry 'hot,' after
the fact? I also have a column of Facebook pages I need to make hot
as well.

Thank-you.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.