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!!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

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!!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,056
Messages
5,835,158
Members
430,342
Latest member
Sailingexcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top