Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Convert urls to links

Hello,
I have an Excel document with a column of urls that I'd like to convert to
links. There is nothing in this column except the urls. Is there a way to
convert them en mass?

Thanks,
Ellen
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Convert urls to links

You could use some VBA code.
Press Alt+F11 to bring up the VB editor. Next, right-click "ThisWorkbook"
and goto "Insert" and then select "Module".
Paste the following code:

For Each cell In Range("A1:A" & Range("A65536").End(xlUp).Row)
cell.Hyperlinks.Add Anchor:=cell, Address:= _
cell.Value, TextToDisplay:=cell.Value
Next cell




This code assumes that your URLs are in column A.
HTH,
Paul




"Ellen" wrote in message
...
Hello,
I have an Excel document with a column of urls that I'd like to convert to
links. There is nothing in this column except the urls. Is there a way
to
convert them en mass?

Thanks,
Ellen



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Convert urls to links

Thanks for your help, Paul. After doing a little checking out, I preceded
your code with "Sub url()" and ended it with "End sub". The code worked
beautifully!!
Ellen

"PCLIVE" wrote:

You could use some VBA code.
Press Alt+F11 to bring up the VB editor. Next, right-click "ThisWorkbook"
and goto "Insert" and then select "Module".
Paste the following code:

For Each cell In Range("A1:A" & Range("A65536").End(xlUp).Row)
cell.Hyperlinks.Add Anchor:=cell, Address:= _
cell.Value, TextToDisplay:=cell.Value
Next cell




This code assumes that your URLs are in column A.
HTH,
Paul




"Ellen" wrote in message
...
Hello,
I have an Excel document with a column of urls that I'd like to convert to
links. There is nothing in this column except the urls. Is there a way
to
convert them en mass?

Thanks,
Ellen




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
Convert links to result noyb Links and Linking in Excel 1 November 28th 05 05:15 PM
options to update automatic links Werner Rohrmoser Excel Worksheet Functions 0 November 10th 05 12:58 PM
Prompt to update links Werner Rohrmoser Links and Linking in Excel 0 November 3rd 05 09:47 AM
How do I convert email addresses to clickable links? Rick Wetzel Excel Discussion (Misc queries) 3 February 5th 05 06:09 PM
How do I convert email addresses to clickable links? Rick Wetzel Excel Discussion (Misc queries) 1 February 5th 05 04:43 PM


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