by Stephen Glauser (3 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating:
(38 Votes)
This is a simple, yet very useful One Line code, that will open your (the user) Default Web Browser, and send you to a user specified URL.
Inputs
URL
Sub OpenUrl(URL As String)
Rem Written by Stephen Glauser
Rem Last Update: August 1, 1999
Rem This will the users Default Web Browser
Rem and send them to the specified URL
Rem Call OpenUrl("http://www.microsoft.com")
Shell ("Explorer " & URL$), vbNormalNoFocus
End Sub