Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How do I convert a text string to a hyperlink in an
Excel Spreadsheet? I have about 63000 lines that need converted! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi
this might work for you... Sub AddHyperlinks() Dim hl As Range Dim r As Range Dim lr As Long lr = Cells(Rows.Count, "B").End(xlUp).Row 'change column if needed Set r = Range("B2:B" & lr) 'change to suit your data For Each hl In r ActiveSheet.Hyperlinks.Add anchor:=hl, Address:= _ hl.Value, TextToDisplay:=hl.Value Next hl End Sub regards FSt1 "Ryer" wrote: How do I convert a text string to a hyperlink in an Excel Spreadsheet? I have about 63000 lines that need converted! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
text start in A2 in B2 enter =Hyperlink(A2) copy formula down "Ryer" wrote: How do I convert a text string to a hyperlink in an Excel Spreadsheet? I have about 63000 lines that need converted! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What type of text string?
This may work if the links would be valid like URL's or email addresses. 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 Wed, 9 Sep 2009 06:50:01 -0700, Ryer wrote: How do I convert a text string to a hyperlink in an Excel Spreadsheet? I have about 63000 lines that need converted! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert to hyperlink | Excel Worksheet Functions | |||
convert text to hyperlink | Excel Worksheet Functions | |||
Convert Inserted HTML text as Hyperlink | Excel Worksheet Functions | |||
Convert hyperlink function into hyperlink | Excel Worksheet Functions | |||
How to convert a hyperlink to its target full-text URL | Excel Discussion (Misc queries) |