With CreateObject("Shell.Application").Windows
    If .Count > 0 Then      This counts the instances of "Shell.Application" Windows how is that a reference to internet explorer? 
       Set IE = .Item(0) ' or .Item(.Count - 1) This sets IE to Shell.Application.Windows.Item(Shell.Application.Windows.Count - 1) ?
    Else
        Set IE = CreateObject("InternetExplorer.Application")
        IE.Visible = True
    End If
End With
is what I said in red correct?