Launch Internet Explorer from VBA

August 15th, 2004 | Categories: Excel.mod | Tags:
-->

If you need custom code to launch a website from VBA, try this.

1. Put the following code in a module

Sub LaunchSite()

Dim Newsite As Object

Set NewSite = CreateObject("InternetExplorer.application")
NewSite.Visible = True
NewSite.Navigate "http://www.automateexcel.com"

End Sub
Can't get the tutorial to work for you? Need help with your code?
Get answers right away at our AE Excel Support Forums!
  1. January 9th, 2009 at 02:52
    Reply | Quote | #1

    I’ve been studying this sort of information out for a class.

    Thanks! This is very informative.

    (just thought I’d say hi 4+ years after you posted this)

    :)

  2. Rwon
    February 12th, 2010 at 09:47
    Reply | Quote | #2

    Works just fine

  3. lods
    April 28th, 2010 at 10:45
    Reply | Quote | #3

    Is there a way to launch ie run as admin from VBA?