Opening Hyperlinks

  • Thread starter Thread starter Nicki
  • Start date Start date
N

Nicki

Can someone please tell me if there is a keyboard shortcut I can use
to open multiple hyperlinks in a spreadsheet (Column B, row 2-2535).

Alternatively, I know I can write a macro with a keyboard shortcut -
if anyone knows how to write it and could post, I'd really appreciate
it.

Thanks
 
Assign a shortcut key to the following:

Sub hyper_gone_wild()
Dim r As Range
Set r = Range("B2:B2535")
For Each rr In r
If rr.Hyperlinks.Count > 0 Then
For Each hl In rr.Hyperlinks
ActiveWorkbook.FollowHyperlink Address:=hl.Address
Next
End If
Next
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top