Most of what I can find online with this seems to presuppose that I'm using IE6, an older version of Excel, or in most cases both.
I need Excel to be able to look for and address multiple windows, or tabs, in Internet Explorer. The basic syntax - for older builds of these two apps, I think, is something like this:
This, I'm guessing, isn't right for IE7, but I'm not having much luck finding out what is. And even if it were, I would need to check on Microsoft Internet Controls reference under tools... which is not available in Excel 2007.
Anybody got some code, or a link, that can get me started?
I need Excel to be able to look for and address multiple windows, or tabs, in Internet Explorer. The basic syntax - for older builds of these two apps, I think, is something like this:
Code:
'SHDocVw is not recognized
Dim objIE As SHDocVw.InternetExplorer
Set objSW = New SHDocVw.ShellWindows
For Each objIE In objSW
Debug.Print "found one window"
'of course we want to do much more than this, but since we cant even get this far...
Exit For
This, I'm guessing, isn't right for IE7, but I'm not having much luck finding out what is. And even if it were, I would need to check on Microsoft Internet Controls reference under tools... which is not available in Excel 2007.
Anybody got some code, or a link, that can get me started?