John Caines
Well-known Member
- Joined
- Aug 28, 2006
- Messages
- 1,155
- Office Version
- 2019
- Platform
- Windows
Hello all,
Hope someone can help me here.
I have a large list of email addresses, approx 62,000.
All I want to do is turn them into hyperlinks.
All the list is in Col A from A3 downwards.
I'm using excel 2007.
I do have a macro that I thought might work
(I think it's a VOGII special), sorry VOGII if I'm wrong
Now I know very little on coding (Just above zero actually),
But I just thought this might work as it works for http type URLs.
Thought it might convert emails also.
I've just tried running it and it didn't work
Thing is, I'm sure this macro is set to run from cell C4.
I've tried changing a few numbers etc, but I just must be changing the wrong parts
as I can't get this to work with data starting from cell A3
Is there anyway to alter the code so this kind of macro can convert emails
into active (Blue hyperlinks)?
Hope someone can advise
many thanks
John Caines
Hope someone can help me here.
I have a large list of email addresses, approx 62,000.
All I want to do is turn them into hyperlinks.
All the list is in Col A from A3 downwards.
I'm using excel 2007.
I do have a macro that I thought might work
(I think it's a VOGII special), sorry VOGII if I'm wrong
Code:
Sub AllHyperlinksConverter()
Dim lastrow As Long, i As Long, web As String, t As Date
t = Now()
Application.ScreenUpdating = False
Application.Calculation = xlManual
lastrow = Cells(Rows.Count, 3).End(xlUp).Row
For i = 4 To lastrow
web = Cells(i, 3).Value
ActiveSheet.Hyperlinks.Add Anchor:=Cells(i, 3), Address:=web, TextToDisplay:=web
Next i
Application.ScreenUpdating = True
Application.Calculation = xlAutomatic
MsgBox "Hyperlink Converting Run Time: " & Format(Now() - t, "hh:mm:ss")
End Sub
Now I know very little on coding (Just above zero actually),
But I just thought this might work as it works for http type URLs.
Thought it might convert emails also.
I've just tried running it and it didn't work
Thing is, I'm sure this macro is set to run from cell C4.
I've tried changing a few numbers etc, but I just must be changing the wrong parts
as I can't get this to work with data starting from cell A3
Is there anyway to alter the code so this kind of macro can convert emails
into active (Blue hyperlinks)?
Hope someone can advise
many thanks
John Caines