G
Guest
Hi,
I am trying to make a macro that willl copy a column containing hyperlinks
and past only the address portion of the hyperlink to another column.
Here's what I have:
Sub Macro2()
'
' Macro2 Macro
' Macro recorded 1/14/2007 by Bonnie Hicks
'
'
Columns("B:B").Select
Selection.Copy
ActiveWindow.ScrollColumn = 2
ActiveWindow.ScrollColumn = 3
ActiveWindow.ScrollColumn = 4
ActiveWindow.ScrollColumn = 5
ActiveWindow.ScrollColumn = 6
Columns("J:J").Select
ActiveSheet.Paste
End Sub
Can anyone tell me if I can change the Paste line to only include the
hyperlink address or another way to do this.
Thanks in advance.
I am trying to make a macro that willl copy a column containing hyperlinks
and past only the address portion of the hyperlink to another column.
Here's what I have:
Sub Macro2()
'
' Macro2 Macro
' Macro recorded 1/14/2007 by Bonnie Hicks
'
'
Columns("B:B").Select
Selection.Copy
ActiveWindow.ScrollColumn = 2
ActiveWindow.ScrollColumn = 3
ActiveWindow.ScrollColumn = 4
ActiveWindow.ScrollColumn = 5
ActiveWindow.ScrollColumn = 6
Columns("J:J").Select
ActiveSheet.Paste
End Sub
Can anyone tell me if I can change the Paste line to only include the
hyperlink address or another way to do this.
Thanks in advance.