Thursday, 11 December 2014

Microsoft Excel - Macro that opens Internet Explorer and specified URL

Watch this example on YouTube:


ALT+F11 to open Macro window

Sub ShowBrowser()
  Dim IE As Object
 
  Set IE = CreateObject("InternetExplorer.Application")
  IE.Navigate "http://www.pravda.com.ua"
  IE.Visible = True
  Set IE = Nothing
End Sub

1 comment:

  1. Hi there if i have to open multiple urls then which code should i use

    ReplyDelete