Skip to content

Instantly share code, notes, and snippets.

@goliver79
Last active November 15, 2023 21:19
Show Gist options
  • Save goliver79/10234340 to your computer and use it in GitHub Desktop.
Save goliver79/10234340 to your computer and use it in GitHub Desktop.
[EXCEL] VBA Open URL with default browser
'EXCEL Macro
'open url with default browser
Sub callWebPage(url)
ActiveWorkbook.FollowHyperlink _
Address:=url, _
NewWindow:=True, _
AddHistory:=True
End Sub
'usage
callWebPage "http://github.com"
@ferguspower
Copy link

Very neat, thanks!

@eltrz007
Copy link

Incredible ! :)

Wow ... Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment