+ Reply to Thread
Results 1 to 10 of 10

Maximize active window

Hybrid View

  1. #1
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Maximize active window

    I want to maximize the active window. It is not a excel or word o any microsoft application.
    I need to vba code to maximize any application that is active currently.

    Thanks,
    Balaji N

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Maximize active window

    Windows has a maximize button already on the upper right side. Is that what you're after?

  3. #3
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Re: Maximize active window

    Quote Originally Posted by JOHN H. DAVIS View Post
    Windows has a maximize button already on the upper right side. Is that what you're after?
    Yes exactly.

  4. #4
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Re: Maximize active window

    Quote Originally Posted by JOHN H. DAVIS View Post
    Windows has a maximize button already on the upper right side. Is that what you're after?
    Have you found out any ideas? Please help me.

    Thanks,
    Balaji N

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Maximize active window

    I don't understand? You can't use the button?

  6. #6
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Re: Maximize active window

    Quote Originally Posted by JOHN H. DAVIS View Post
    I don't understand? You can't use the button?
    i want to maximize using macro, need code.

    Thanks,
    Balaji

  7. #7
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Re: Maximize active window

    Quote Originally Posted by JOHN H. DAVIS View Post
    I don't understand? You can't use the button?
    Windows + UP is working manually.
    Can you help me by giving the code for using Windows + UP key.

    Thanks,
    Balaji N

  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Maximize active window

    This should work for Microsoft Products. Not sure about other applications though.

    With ActiveWindow 
     .WindowState = xlNormal 
     .Top = 1 
     .Left = 1 
     .Height = Application.UsableHeight 
     .Width = Application.UsableWidth 
    End With

  9. #9
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Re: Maximize active window

    Quote Originally Posted by JOHN H. DAVIS View Post
    This should work for Microsoft Products. Not sure about other applications though.

    With ActiveWindow 
     .WindowState = xlNormal 
     .Top = 1 
     .Left = 1 
     .Height = Application.UsableHeight 
     .Width = Application.UsableWidth 
    End With
    I want to maximize a non microsoft product. Kindly help. Can we use a mouse double click on title bar using the co ordinates. Assume the title bar always appear in the same co ordinates.

    Thanks,
    Balaji N

  10. #10
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Re: Maximize active window

    Quote Originally Posted by JOHN H. DAVIS View Post
    This should work for Microsoft Products. Not sure about other applications though.

    With ActiveWindow 
     .WindowState = xlNormal 
     .Top = 1 
     .Left = 1 
     .Height = Application.UsableHeight 
     .Width = Application.UsableWidth 
    End With
    Windows + UP is working manually.
    Can you help me by giving the code for using Windows + UP key.

    Thanks,
    Balaji N

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do I maximize this window??
    By njmoore in forum Excel General
    Replies: 2
    Last Post: 08-19-2014, 04:14 PM
  2. [SOLVED] Maximize external window when it's already open using the API.
    By tahi.laci in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2013, 11:10 PM
  3. maximize window on open
    By ilkamalo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2010, 09:23 AM
  4. Window will not maximize!bar is grey!
    By BouncingHippo in forum Excel General
    Replies: 1
    Last Post: 03-26-2008, 08:36 PM
  5. How To Maximize A Window From The Task Bar
    By FourBlades in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-30-2006, 06:00 PM
  6. maximize window
    By David Rose in forum Excel General
    Replies: 3
    Last Post: 06-23-2005, 05:05 PM

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