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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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
 
Upvote 0
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!!
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,478
Members
448,967
Latest member
visheshkotha

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
Back
Top