XL: Custom Menu Items Available to All Open Workbooks

Last reviewed: September 13, 1996
Article ID: Q112815
The information in this article applies to:
  • Microsoft Excel for Windows, versions 5.0, 5.0c
  • Microsoft Excel for Windows 95, version 7.0

SUMMARY

When you create a new menu item to run a macro, the menu item becomes available to all open workbooks. When you close the workbook that builds the menu item, the item is removed from the menu for all remaining workbooks.

For example, if BOOK1.XLS contains a custom menu item on the File menu, that same custom menu item will be available in BOOK2.XLS, as long as BOOK1.XLS is still open. If BOOK1.XLS is closed, the custom menu item will be removed from the File menu.

REFERENCES

For more information about Custom Menu Items, choose the Search button in Help and type:

   Menu Editor Command


KBCategory: kbusage
KBSubcategory:

Additional reference words: 5.00 5.00c 7.00 toolbar



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: September 13, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.