Open your Default Browser to a Website

By | 2002-06-01

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.

Original Author: Stephen Glauser

Inputs

URL

Code

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

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.