Maximise browser window??

SDSU_Jim

Board Regular
Joined
Nov 29, 2005
Messages
127
I am using the following code to open a browser window and go to a web site:

Sub DoBrowseBlackboard()

Dim ie As Object

Set ie = CreateObject("Internetexplorer.Application")

ie.Visible = True

ie.Navigate "HTTP://myweb.site"

End Sub

Only, the window opens 1/4 size. Anyone have any suggestions on how to force a full screen window??
I tried "Application.WindowMaximum" with no results.

Thanks!!
 

Some videos you may like

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

hayati

Board Regular
Joined
Oct 3, 2005
Messages
118
perhaps

Hi,

I am sure there must be a better way but this might work until you find a better solution:

Code:
Sub DoBrowseBlackboard()

Dim ie As Object

Set ie = CreateObject("Internetexplorer.Application")

ie.Visible = True

ie.Navigate "HTTP://myweb.site"

   ie.Height = 800
   ie.Width = 1200

End Sub

Hope it helps,

Cheers,
Matt
 

SDSU_Jim

Board Regular
Joined
Nov 29, 2005
Messages
127
THANKS, That worked great (slight modification to 750X1100). The window comes up slightly ofset (off the right side), but that isn't a big problem, the window is still usable.

Again THANKS!!
 

Watch MrExcel Video

Forum statistics

Threads
1,118,330
Messages
5,571,570
Members
412,406
Latest member
DutchMonkey
Top