Internet Object
 
Syntax
 
Internet.ActivateBrowser(Title[, ScanContents])
 
Description
Goes through all open Internet Explorer windows on the computer and sets the focus on the window with the same Title or whose contents contain the text Title.
 
Returns TRUE if the window was found, or FALSE if no match was found.
 
Parameter
Description
Title
The title text of the web page, as displayed in the header of the opened web browser.
If ScanContents=TRUE, this is the text searched for in the web page content.
ScanContents
Optional, default value FALSE. If TRUE, Title is used to search for this text in the web page content.
See Also
Example
 
Sub Main
 
   Internet.OpenPage "http://www.google.nl"
   Wait 5 ‘seconds
 
   Debug.Print Internet.ActivateBrowser("Google")
 
End Sub