Opening a hyperlink in a cell with a macro

Status
Not open for further replies.

steve case

Well-known Member
Joined
Apr 10, 2002
Messages
823
My formula in cell A1 says: =HYPERLINK(A2,A3)
Cell A2 has the URL
Cell A3 has the name of the website.

And it works, if I click on cell A1 it opens the internet and my target website appears (-:

But my test macro to do that doesn't )-:

Code:
Sub SelectHyperlinkCell()
'
' SelectHyperlinkCell Macro
'


'
    Range("A1").Select
End Sub

I have URLs all the way down
A1
A2
A3
...
A1500

So I would like to have macro that as the last instruction opens up the link. Can this be done?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Status
Not open for further replies.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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