I've found this code for Microsoft Visual Basic Editor that opens multiple links in excel. However, I can't cancel it when the range prompt appears. Any ideas?
Sub OpenMultipleLinks()
'From WindowsLoop
Dim MultiLink As Hyperlink
Dim SelectedRng As Range
On Error Resume Next
'Window Heading
WLTitleId = "WL Open Multiple Links"
'Set Range
Set SelectedRng = Application.Selection
Set SelectedRng = Application.InputBox("Range", WLTitleId, SelectedRng.Address, Type:=8)
'Open Links One by One
For Each MultiLink In SelectedRng.Hyperlinks
MultiLink.Follow
Next
End Sub