I've got a relatively simple question: how do you select an internet explorer tab using vba?
for instance
code:
For Each appWindow in appShell.Windows
If TypeName(appWindow.Document) = "HTMLDocument" Then
Set appie = appWindow
If appie.LocationURL = "desired url" Then
Exit For
End If
End If
Next
.. will set appie to an internet explorer application object that holds a tab that has that url, but it won't select the tab. How do you get that tab to be clicked using code?
for instance
code:
For Each appWindow in appShell.Windows
If TypeName(appWindow.Document) = "HTMLDocument" Then
Set appie = appWindow
If appie.LocationURL = "desired url" Then
Exit For
End If
End If
Next
.. will set appie to an internet explorer application object that holds a tab that has that url, but it won't select the tab. How do you get that tab to be clicked using code?