Excel: User-Defined Function Category Limit

Last reviewed: September 2, 1997
Article ID: Q84075
The information in this article applies to:
  • Microsoft Excel for Windows, versions 4.0, 4.0a, 5.0
  • Microsoft Excel for the Macintosh, versions 4.0

SUMMARY

In Microsoft Excel, when you create a user-defined function, you can assign it to a category to make it easier to find. You can assign user-defined functions to built-in categories, or you can created your own.

The limits to the number of user-defined functions that you can create are as follows:

  • In Microsoft Excel version 5.0, you can add 15 user-defined function categories.

    NOTE: In version 5.0, there is one less category than in earlier versions of Microsoft Excel due to the addition of the Sample Dialogs category.

  • In Microsoft Excel versions 4.x, you can add 16 user-defined function categories.

Any function category that is defined beyond the 15- or 16-category limit will not be accepted and the user-defined function is automatically placed in the "User Defined" category.

MORE INFORMATION

For information about creating user-defined functions in Microsoft Excel version 5.0, do the following:

  1. Choose the Search button in Visual Basic Help and type:

          Add Method
    

  2. Select the Add Method(Names Collection) topic, choose Show Topics, and then choose Go To.

In the Add Method Help topic, see the information under the Category argument.

REFERENCES

"Visual Basic User's Guide," version 5.0, pages 47-48 "User's Guide 2," version 4.0, pages 203-213


Additional query words: 4.00 4.00a 5.00 defined name
Keywords : kbprg PgmOthr SynFnc


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