+ Reply to Thread
Results 1 to 12 of 12

Maximizing session of IE

  1. #1
    Registered User
    Join Date
    06-24-2008
    Posts
    98

    Maximizing session of IE

    I am using the following code but it only opens IE and doesnt maximize it. Does anyone know how I would maximize it?

    I have tried the obvious ones

    Please Login or Register  to view this content.
    Any help would be fab!
    Last edited by Chris424; 06-24-2009 at 04:12 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Maximizing session of IE

    Hello Chris424,

    I haven't created an IE object in while, so I don't know for sure if this is problem, but give it a try. Place the browser.WindowState = Maximized statement after the browser.Visible = True
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    06-24-2008
    Posts
    98

    Re: Maximizing session of IE

    Thanks for the reply but unfotunatly that didnt work.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Maximizing session of IE

    Hello Chris424,

    I'll run your example on my machine and see if I can figure this out for you.

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Maximizing session of IE

    Hello Chris424,

    Is it coming up and covering about half of your screen?

  6. #6
    Registered User
    Join Date
    06-24-2008
    Posts
    98

    Re: Maximizing session of IE

    Thank you!

    Yep, thats exactly what happens.
    Last edited by Chris424; 06-24-2009 at 02:57 PM.

  7. #7
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Maximizing session of IE

    Hello Chris424,

    This will work. Copy this code into a standard VBA module.
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    06-24-2009
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel Vista
    Posts
    4

    Re: Maximizing session of IE

    Hey Guys
    I wanted to do something similar.
    I wanted to take data from a webpage. However that webpage requires a logon.
    Can I do this?

    Thanks

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Maximizing session of IE

    Welcome to the forum, vainglorious.

    Please take a few minutes to read the forum rules, and then start your own thread.
    Entia non sunt multiplicanda sine necessitate

  10. #10
    Registered User
    Join Date
    06-24-2008
    Posts
    98

    Re: Maximizing session of IE

    That is perfect! Thankyou soooo much :-)

  11. #11
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Maximizing session of IE

    Hello Chris424,

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  12. #12
    Registered User
    Join Date
    06-24-2008
    Posts
    98

    Re: Maximizing session of IE

    All done, thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1