Using the code below, is there a way to force the opened IE window to have focus? There are multiple menu choices, so the user may open 2 or more IE windows. The first window opens on top, but, if the first window is left open, the subsequent windows open behind the app. Thank you.
Dim strLink As String
Dim strFullLink As String
strLink = "http://intranet/default.aspx
Dim oIE As New InternetExplorer
.Toolbar = False
.MenuBar = False
.Visible = True
.FullScreen = False
.AddressBar = False
Select Case strReport
Case "Misc Report"
Case "Test Report"
strFullLink = strLink & "?Report=" & strReport
strFullLink = strFullLink & "&Year=" & strYear
If strDept <> "" Then
strFullLink = strFullLink & "&Dept=" & strDept