Launch Internet Explorer from VBA

Automate Excel

Launch Internet Explorer from VBA

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

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.