XL: Workspace Doesn't Retain Window SizeLast reviewed: February 2, 1998Article ID: Q160264 |
The information in this article applies to:
SYMPTOMSWhen you open a workspace (*.xlw) file in Microsoft Excel, the window state is not retained. Instead, the windows appear in the restored state.
CAUSEThis problem occurs when you maximize the windows in a workspace, save the workspace file, and then reopen the file.
WORKAROUNDTo open a workspace file with maximized windows, do either of the following:
Macro ExampleMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/The following macro example runs automatically when you open the workbook, and maximizes the window.
Sub Auto_Open() ActiveWindow.WindowState = xlMaximized End SubFor additional information about workspace files, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q113803 TITLE : XL: Split or Frozen Panes Not Saved in Workspace ARTICLE-ID: Q10042 TITLE : Zoom Setting Lost When Workspace File Saved and Reopened ARTICLE-ID: Q108474 TITLE : Window Options Not Saved in Workspace File |
Additional query words: XL98 98 XL97 97 8.00 7.00 5.00 5.00a 5.00c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |