Excel: Window Menu Does Not Show All Sheets in a Workbook

Last reviewed: August 8, 1995
Article ID: Q85177

The information in this article applies to:

  • Microsoft Excel for Windows, version 4.0
  • Microsoft Excel for the Macintosh, version 4.0

SUMMARY

Microsoft Excel will only list windows on the Window menu if they are open on the desktop. When you are using Workbooks, the Window menu may only partially correspond to the documents listed in the Workbook Contents window. The best way to switch from one document to another in a workbook is to click the Workbook Contents icon in the lower-right corner of the document, and then double-click the desired document name.

MORE INFORMATION

If you would like your workbook documents to appear on the Window menu or if you would like to arrange them in order to see more than one document at a time, switch to the Workbook Contents window, select the desired document, and choose the New Window command from the Window menu. Repeat these steps for other workbook documents as needed.

You can also hold down CTRL in Microsoft Excel for Windows or COMMAND in Microsoft Excel for the Macintosh, and you can double-click the document in the Workbook Contents window.

An alternate method is available by using the following macro which sequentially activates each workbook file and then arranges all of them.

Microsoft provides macro 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 macro is provided 'as is' and Microsoft does not guarantee that the following code can be used in all situations. Microsoft does not support modifications of the code to suit customer requirements.

   A1:  Arrange_Workbook
   A2:  =WORKBOOK.ACTIVATE(,FALSE)
   A3   =GET.DOCUMENT(1)
   A4:  =COLUMNS(GET.WORKBOOK(1))
   A5:  =FOR("x",1,A4)
   A6:  =ACTIVATE(A3)
   A7:  =WORKBOOK.ACTIVATE(INDEX(GET.WORKBOOK(1),1,x),TRUE)
   A8:  =NEXT()
   A9:  =ARRANGE.ALL()
  A10: =RETURN()

REFERENCES

"User's Guide 1," version 4.0, pages 67-69


KBCategory: kbusage kbfasttip
KBSubcategory:

Additional reference words: 4.00 4.00a


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 8, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.