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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Status
Not open for further replies.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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