+ Reply to Thread
Results 1 to 2 of 2

Is it possible to set window size on open and keep it that size

  1. #1
    Forum Contributor
    Join Date
    05-19-2012
    Location
    houston
    MS-Off Ver
    excel 2013
    Posts
    103

    Is it possible to set window size on open and keep it that size

    Hi,

    I have a workbook and use the following code to open it with the window set at certain size. This part works great, however the workbook is used on different size screens and if the maximize button is clicked it looks bad on large screens. Minimizing is ok because it returns to the set size... so is there a way to disable the maximize button, not allow maximizing, or keep the window the set size no matter what.

    Please Login or Register  to view this content.

  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,258

    Re: Is it possible to set window size on open and keep it that size

    Hello barman,

    This macro will remove the maximize button on the Excel application window. Add a new VBA Module to your workbook and paste the code below into.

    Run the macro "RemoveMaximize".

    Please Login or Register  to view this content.
    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!)

+ 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. Open Excel file in Reduce window size
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-24-2012, 06:58 PM
  2. Set window size with VBA.
    By c_leven3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2010, 03:15 PM
  3. How to set the size for the new window
    By lizaro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2008, 07:42 AM
  4. [SOLVED] window size/scroll
    By David in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-19-2006, 10:55 AM
  5. Window size
    By matelot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2006, 12:25 PM
  6. [SOLVED] Cannot (re) size Excel Window
    By Terry in forum Excel General
    Replies: 0
    Last Post: 01-25-2006, 06:50 AM
  7. Comment window size
    By Eddie in forum Excel General
    Replies: 1
    Last Post: 03-24-2005, 03:06 PM
  8. Alternative window size?
    By Hans Näslund in forum Excel General
    Replies: 1
    Last Post: 01-17-2005, 08:06 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