Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / March 2008

Tip: Looking for answers? Try searching our database.

How to change a pasted web link to hyperlink

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
perfection - 29 Mar 2008 21:10 GMT
I have designed a worksheet wherein the cells contains the following
information

The webpage address link
A summary of the page to which the link points

Now i wish to hyperlink the webpage adresses which are currently not
in hyperlink blue probably becuase i cut - pasted them from the
webpage

How can i do this in bulk or is there some free available addin that
does this as i have in excess of 500 links stored this manner

Remember i wish to colour only the link not the cell which has other
info too
Gord Dibben - 29 Mar 2008 22:33 GMT
Try this macro after selecting all 500+ cells.

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

>I have designed a worksheet wherein the cells contains the following
>information
[quoted text clipped - 11 lines]
>Remember i wish to colour only the link not the cell which has other
>info too
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.