
I looked in the source html and the only reference to title I see contains no innertext: and "" also isn't recognized. When I switch to non-tab viewing there is no title at all.

" - Windows Internet Explorer" also isn't recognized.

The tab shows "", which isn't recognized.

So I still don't have a method to identify the exact window title for what I am trying to do. Issue 2: The title that IE9 provides is not "BBC - Homepage - Windows Internet Explorer", it is "BBC - Homepage". That defeats the whole purpose as what I am trying to do is find a specific open window and bring it to the front. But if some other tab is active, it returns 0. Issue 1: If I have multiple tabs/windows open in a browser and the active tab/window is then it works. But that is a catch 22 as the handle is what I am trying to get from the window name. But is it a window property I should see in the source code? Is that something that IE should be dipslaying?Įverything I have seen says that to get the window name just pass the handle to an API. I am referencing a window opened by a static URL, so I am guessing the name is not variable. The problem is that I have no idea how to find the window's name. However, I want to utilize the window name as well in case a user has more than one IE window open.

I am using "IEFrame" for the class and that works. So to bring the window to the top I need the handle and to get the handle I am using the FindWindow API. Public Declare Function BringWindowToTop Lib "user32" (ByVal hwnd As Long) As Long Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As Any, ByVal lpWindowName As Any) As Long The code works great but sometimes the opened browser window is not brought to the front, so I am trying to use a couple of APIs to make that happen: I am trying to run macros in excel VBA to open a web page and interact with forms.
