LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Window Resize

To "restore" a window you use code like this:

ActiveWindow.WindowState = xlNormal

To position it you use the window's Left, Top, Width and Height properties.

--
Jim Rech
Excel MVP
"Ryan" wrote in message
...
|I have a command button in a spreadsheet that opens up another spreadsheet.
I want to know how I can set it so that when the second spreadsheet opens, I
can set the size of the window it is in, or at least have it not maximized
or minimized.
|
| Ryan


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Resize Workbook window Nightmry Excel Discussion (Misc queries) 4 May 12th 23 03:44 AM
Excel: Expose whole window or at least top resize handles. Reinie Excel Discussion (Misc queries) 1 August 25th 09 04:11 PM
How to resize Data Form dialog window? Compucat Excel Worksheet Functions 1 June 8th 05 11:24 PM
Need to resize a worksheet window Hasta Pasta Excel Discussion (Misc queries) 5 January 8th 05 10:49 PM
Resize the workbook window is impossible Valeria Excel Discussion (Misc queries) 1 December 29th 04 11:30 AM


All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"