I opened a IE window/session from within Excel2010 with VBA using
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "http://................."
and some more tabs in this session with
IE.Navigate2 "http://.................", 2048
How can I adress the tabs opened with IE.Navigate2 to close them, but keep the 1st tab opened with IE.Navigate? the IE object is still alive in VB at this time
(similar to what you do by hand, by activating the 1st tab and then "close all other tabs" (Ctrl+Alt+F4)). Thanks in advance!
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "http://................."
and some more tabs in this session with
IE.Navigate2 "http://.................", 2048
How can I adress the tabs opened with IE.Navigate2 to close them, but keep the 1st tab opened with IE.Navigate? the IE object is still alive in VB at this time
(similar to what you do by hand, by activating the 1st tab and then "close all other tabs" (Ctrl+Alt+F4)). Thanks in advance!