Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Thermometer
 
Posts: n/a
Default Enable hyperlinks

I have an Excel file with about 200 URLs that have been imported. They
show up as plain text. I can click on each one, choose "Hyperlink,"
and activate each one individually. Any way to do them all at once?

Ralph

  #2   Report Post  
patrick
 
Posts: n/a
Default

Format one as a hyperlink. Click on your format painter in the toolbar and
paint the formatting over the rest. It should work.
Pat

"Thermometer" wrote:

I have an Excel file with about 200 URLs that have been imported. They
show up as plain text. I can click on each one, choose "Hyperlink,"
and activate each one individually. Any way to do them all at once?

Ralph


  #3   Report Post  
William
 
Posts: n/a
Default

Hi

You may need to adjust the code to suit your needs....

Sub test()
Dim c As Range
With ActiveSheet
For Each c In Selection
If Left(c, 4) = "www." Then
c.Hyperlinks.Add Anchor:=c, Address:="http://" & c.Text
ElseIf Left(c, 7) = "http://" Then
c.Hyperlinks.Add Anchor:=c, Address:=c.Text
End If
Next c
End With
End Sub
--

XL2003
Regards

William



"Thermometer" wrote in message
oups.com...
I have an Excel file with about 200 URLs that have been imported. They
show up as plain text. I can click on each one, choose "Hyperlink,"
and activate each one individually. Any way to do them all at once?

Ralph



  #4   Report Post  
Gary Brown
 
Posts: n/a
Default

'/===============================/
Sub MakeHyperlinks()
'make hyperlinks out of selected cells if possible
Dim rngCell As Range
Dim varAnswer As Variant

On Error Resume Next

For Each rngCell In Selection
ActiveSheet.Hyperlinks.Add Anchor:=rngCell, _
Address:=rngCell.Value _
, TextToDisplay:=rngCell.Value
Next rngCell

End Sub
'/===============================/

HTH,
--
Gary Brown



"Thermometer" wrote:

I have an Excel file with about 200 URLs that have been imported. They
show up as plain text. I can click on each one, choose "Hyperlink,"
and activate each one individually. Any way to do them all at once?

Ralph


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
Why do long hyperlinks get truncated on save in Excel? colerb Excel Worksheet Functions 1 June 13th 05 10:37 PM
Addressing hyperlinks in excel Owen Dodd Excel Discussion (Misc queries) 1 April 20th 05 08:35 PM
Changing Hyperlinks? Madvikefan Excel Discussion (Misc queries) 2 April 14th 05 04:52 PM
macros enable myfanwy New Users to Excel 2 February 6th 05 10:01 PM
Problems with hyperlinks Lynde Excel Discussion (Misc queries) 5 January 14th 05 08:39 PM


All times are GMT +1. The time now is 03:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"