ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Importing e-mail addresses not showing as hyperlinks (https://www.excelbanter.com/new-users-excel/139321-importing-e-mail-addresses-not-showing-hyperlinks.html)

gls858

Importing e-mail addresses not showing as hyperlinks
 
I imported several hundred email addresses into a spreadsheet
from an external source. How do I get them to show up as hyperlinks.

gls858

Gord Dibben

Importing e-mail addresses not showing as hyperlinks
 
Sub MakeHyperlinks()
'David McRitchie code
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 Tue, 17 Apr 2007 15:51:00 -0500, gls858 wrote:

I imported several hundred email addresses into a spreadsheet
from an external source. How do I get them to show up as hyperlinks.

gls858



gls858

Importing e-mail addresses not showing as hyperlinks
 
Gord Dibben wrote:
Sub MakeHyperlinks()
'David McRitchie code
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 Tue, 17 Apr 2007 15:51:00 -0500, gls858 wrote:

I imported several hundred email addresses into a spreadsheet
from an external source. How do I get them to show up as hyperlinks.
gls858



Thanks Gord. I'll post back the results later.

gls858

gls858

Importing e-mail addresses not showing as hyperlinks
 
Gord Dibben wrote:
Sub MakeHyperlinks()
'David McRitchie code
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 Tue, 17 Apr 2007 15:51:00 -0500, gls858 wrote:

I imported several hundred email addresses into a spreadsheet
from an external source. How do I get them to show up as hyperlinks.
gls858



Gord,
Just wanted to post back and let you know that worked. i really
appreciate your help and David McRitchie's too :-)

gls858

Gord Dibben

Importing e-mail addresses not showing as hyperlinks
 
David and I appreciate the feedback.

Gord

On Wed, 18 Apr 2007 12:59:29 -0500, gls858 wrote:

Gord Dibben wrote:
Sub MakeHyperlinks()
'David McRitchie code
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 Tue, 17 Apr 2007 15:51:00 -0500, gls858 wrote:

I imported several hundred email addresses into a spreadsheet
from an external source. How do I get them to show up as hyperlinks.
gls858



Gord,
Just wanted to post back and let you know that worked. i really
appreciate your help and David McRitchie's too :-)

gls858




All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com