Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a long column of hyperlinks in an excel file. I need to copy the full
addresses as text into an adjacent column. I can do this line by line thru Edit Hyperlink Ctrl C / Ctrl V, but this is too tedious. Tried to record my steps to a macro but macro completely ignored my steps! Thank you |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Mmhoballah,
Try:: '============= Public Sub TesterB01() Dim rng As Range Dim HL As Hyperlink Set rng = Activesheet.Range("J:J") '<<==== CHANGE For Each HL In rng.Hyperlinks HL.Parent.Offset(0, 1).Value = HL.Address Next HL End Sub '<<============= --- Regards, Norman "mmhoballah" wrote in message ... I have a long column of hyperlinks in an excel file. I need to copy the full addresses as text into an adjacent column. I can do this line by line thru Edit Hyperlink Ctrl C / Ctrl V, but this is too tedious. Tried to record my steps to a macro but macro completely ignored my steps! Thank you |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
worked like a charm, many thanks
"Norman Jones" wrote: Hi Mmhoballah, Try:: '============= Public Sub TesterB01() Dim rng As Range Dim HL As Hyperlink Set rng = Activesheet.Range("J:J") '<<==== CHANGE For Each HL In rng.Hyperlinks HL.Parent.Offset(0, 1).Value = HL.Address Next HL End Sub '<<============= --- Regards, Norman "mmhoballah" wrote in message ... I have a long column of hyperlinks in an excel file. I need to copy the full addresses as text into an adjacent column. I can do this line by line thru Edit Hyperlink Ctrl C / Ctrl V, but this is too tedious. Tried to record my steps to a macro but macro completely ignored my steps! Thank you |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This works great for me too. I'm trying to copy the hyperlinks from one excel
document to another. Using this I've converted the hyperlinks to filepaths. Now, I want to convert the column of filepaths back to hyperlinks. Also, I want to display only the filenames. Regards Dylan Dawson Scotland "mmhoballah" wrote: worked like a charm, many thanks "Norman Jones" wrote: Hi Mmhoballah, Try:: '============= Public Sub TesterB01() Dim rng As Range Dim HL As Hyperlink Set rng = Activesheet.Range("J:J") '<<==== CHANGE For Each HL In rng.Hyperlinks HL.Parent.Offset(0, 1).Value = HL.Address Next HL End Sub '<<============= --- Regards, Norman "mmhoballah" wrote in message ... I have a long column of hyperlinks in an excel file. I need to copy the full addresses as text into an adjacent column. I can do this line by line thru Edit Hyperlink Ctrl C / Ctrl V, but this is too tedious. Tried to record my steps to a macro but macro completely ignored my steps! Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change email Hyperlink from picture to text view? any ideas? | Excel Worksheet Functions | |||
Change hyperlink name to url | Excel Discussion (Misc queries) | |||
Change Hyperlink to Plain Text | Excel Discussion (Misc queries) | |||
Macro to Copy Hyperlink to another file as a HYPERLINK, not text... | Excel Programming | |||
reading html when hyperlink address not hyperlink text diplayed | Excel Programming |