Excel: Adding a Separator Bar to Custom Menus

Last reviewed: November 29, 1994
Article ID: Q64404
The information in this article applies to:
  • Microsoft Excel for the Macintosh, versions 2.2, 3.0, 4.0

SUMMARY

To add a separator line between menu commands on a Microsoft Excel custom menu, a hyphen must be placed between the two items to be separated in the menu name column of the menu definition table.

For example, to place a separator line between the first and second items on a custom menu, insert a dash (-) in row 3 of the column, thus separating the menu command in row 2 from the menu command in row 4, as follows:

   +--------+---------------------------------------+-----+
   |  Data  |  (Menu name)                          |     |
   +--------+---------------------------------------+-----+
   |  Form  |  (Command macro reference)            |     |
   +--------+---------------------------------------+-----+
   |  -     |  (This will separate Form from Find)  |     |
   +--------+---------------------------------------+-----+
   |  Find  |  (Command macro reference)            |  E  |
   +--------+---------------------------------------+-----+


REFERENCES

"Microsoft Excel User's Guide" version 3.0, page 638

"Microsoft Excel Functions and Macros" version 2.2, pages 153-163


KBCategory: kbusage
KBSubcategory:

Additional reference words: 2.2 2.20 2.21 3.0 3.00 4.0 4.00


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: November 29, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.