Late Binding Vs Early Binding

     

    Download The Workbook

     

    Sub EarlyBinding_Introduction()
    Dim ie As InternetExplorer
    Set ie = New InternetExplorer
    ie.Visible = True
    ie.navigate "https://in.finance.yahoo.com"
    End Sub

    Sub LateBinding_Introduction()
    Dim ie As Object
    Set ie = CreateObject("Internetexplorer.Application")
    'Display the Internet Explorer and navigate to website
    ie.Visible = True
    ie.navigate "https://finance.yahoo.com/"

    End Sub