Make ALL Hyperlinks...links

asiedentopf

New Member
Joined
Apr 23, 2002
Messages
3
I have inherited a very large Excel project that has some columns full of hyperlinks to websites. The problem is they are NOT clickable. They are just text. Aside from going to each cell and putting a space at the end of each link and hitting enter to make it linkable. Is there a way to globally throughout the entire worksheet take any cell that has data beginning with http:// and make a true hyperlink?

Thanks for your time and help,
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
On 2002-04-24 12:02, asiedentopf wrote:
I have inherited a very large Excel project that has some columns full of hyperlinks to websites. The problem is they are NOT clickable. They are just text. Aside from going to each cell and putting a space at the end of each link and hitting enter to make it linkable. Is there a way to globally throughout the entire worksheet take any cell that has data beginning with http:// and make a true hyperlink?

Thanks for your time and help,

Lets say tha the links are in C from C2 on.

In D2 enter:

=HYPERLINK(C2)

and double click on the fill handle in the lowr right corner of D2 in order to copy down the formula.
 
Upvote 0
Hi Andre,

Here's a macro that does this.

Sub TextToHyperlink()
Dim Cell As Range
Dim Hlink As String
For Each Cell In ActiveSheet.UsedRange
If UCase(Left(Cell, 7)) = "HTTP://" Or _
UCase(Left(Cell, :cool:) = "'HTTP://" Then
Hlink = Cell.Value
Cell.ClearContents
ActiveSheet.Hyperlinks.Add Cell, Hlink
End If
Next Cell
End Sub
 
Upvote 0
Damon,

Consider that you're not dealing with Excel experts here...

For some reason the macro is coming up with a syntax error.

Any ideas....or a more detailed explanation. If it helps the data we are trying to convert to hyperlink in this case is ALL in column F.

Thanks...

Andre'
 
Upvote 0
Here's what you do to link all hyperlinks my good friend :..........

Highlight ranges that you want to link >>goto>>insert>>hyperlink>>
 
Upvote 0
Thanks Gareth..

This would be great if all the links were to the same link but these are not.

Thanks anyways..

Andre'
 
Upvote 0
Hi again Andre,

The only syntax problem I can see is that, for some reason the "7)" got converted to a smiley face. It should look like the line just above.
 
Upvote 0

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top