Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

VBA-Excel: Launch Internet Explorer (IE) using Microsoft Excel.

To launch the Inter­net Explorer (IE) using Microsoft Excel, fol­low the steps men­tioned below

Steps:

  • Cre­ate the object of Inter­net Explorer
  • Make the Inter­net Explorer visible
  • Nav­i­gate to the spec­i­fied URL
  • Wait till the browser is busy and page is fully loaded

Cre­ate the object of Inter­net Explorer

Set objIEBrowser = CreateObject(“InternetExplorer.Application”)

Make the Inter­net Explorer visible

objIEBrowser.Vis­i­ble = True

Nav­i­gate to the spec­i­fied URL

objIEBrowser.Navigate2 “www.google.com”

Wait till the browser is busy and page is fully loaded

Do While objIEBrowser.Busy

Loop

Com­plete Code:

Function FnLaunchIEBrowser()

Dim objIEBrowser

Set objIEBrowser = CreateObject("InternetExplorer.Application")

objIEBrowser.Visible = True

objIEBrowser.Navigate2 "www.google.com"

    Do While objIEBrowser.Busy

    Loop

End Function
Launch IE Browser

Launch IE Browser

 

You may also like...

Leave a Reply

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

%d bloggers like this: