Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default making normal text to hyperlink.

Hi all,

I have the following issue,

I load a bunch of web adresses from a text file into excel.
Example:

www.microsoft.com
www.playboy.com
etc.
etc.


When I do this the web adresse are displayed as text.
How do I get them to perform/display as a hyperlink so clickin on the
text will bring me directly to the site?
The data to load is different every time.

Looking forward to see any options to my problem.

Ronald
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default making normal text to hyperlink.

select them then run this
Sub AddHperLinks()
Dim cl As Range

For Each cl In Selection.Cells
ActiveSheet.HYperLinks.Add Anchor:=cl, Address:=CStr("http://" & cl.Value)
Next cl
End Sub

cheers
Simon

"Ronald" wrote:

Hi all,

I have the following issue,

I load a bunch of web adresses from a text file into excel.
Example:

www.microsoft.com
www.playboy.com
etc.
etc.


When I do this the web adresse are displayed as text.
How do I get them to perform/display as a hyperlink so clickin on the
text will bring me directly to the site?
The data to load is different every time.

Looking forward to see any options to my problem.

Ronald

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
Making a field value append a hyperlink 68jcode Excel Discussion (Misc queries) 4 October 13th 09 09:25 AM
Normal Text in Formula exutable Excel Worksheet Functions 4 April 24th 06 05:57 AM
HOW DO I CONVERT NORMAL TEXT INTO ALL CAPS? daveylee Excel Worksheet Functions 2 November 21st 05 11:21 PM
Word auto text (normal.dot) skater Excel Discussion (Misc queries) 1 October 21st 05 07:40 PM
Embedding a reference in a cell with normal text. Reggie Excel Worksheet Functions 2 March 18th 05 02:54 PM


All times are GMT +1. The time now is 01:14 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"