Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set focus to an existing browser window

Status
Not open for further replies.

anubis7000

Programmer
Apr 27, 2006
19
US
Greetings,

Is there a way to select or set the focus to an open browser window? Currently, I have used the following code:

Dim ie As Object
Dim ieForm As Object
Dim WebPage As String

ie = CreateObject("InternetExplorer.Application")
WebPage = "ie.Visible = True
ie.Navigate(WebPage)

to open a new browser window, but rather than open a new browser window, I would like to be able to select one that is already open.

thnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top