Excel: Third Column of Custom Command Table Is COMMAND Key

Last reviewed: April 3, 1997
Article ID: Q59959
2.20 MACINTOSH menu kbother

SUMMARY

In early versions of Microsoft Excel version 2.20, the first letter in the third column of a command definition table always appears as the COMMAND key for the custom command. If the command definition table is defined as only two columns, the earlier versions still look for three columns of information and assign the first letter in the third column as the COMMAND key.

To have no COMMAND key appear, insert a blank column between the second column and third column in the command definition table. For example, insert another column between columns B and C in the following example to disable "T" as the COMMAND key:

      A     |        B        |   C
   Command  |  Macro1!Trial   |  Test


KBCategory: kbother
KBSubcategory:

Additional reference words: noupd


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: April 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.