Article ID: 141288
Article Last Modified on 10/11/2006
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 95 Standard Edition
- Microsoft Excel 5.0 Standard Edition
- Microsoft Excel 5.0c
- Microsoft Excel 98 for Macintosh
- Microsoft Excel 5.0 for Macintosh
- Microsoft Excel 5.0a for Macintosh
This article was previously published under Q141288
SUMMARY
In Microsoft Excel, you can create custom Microsoft Visual Basic for
Applications functions to perform calculations. By default, these custom
functions are available to all worksheets in the workbook that contains the
custom function. Therefore, you can call them just as you call built-in
functions in Microsoft Excel. However, if you attempt to call a custom
function from outside of the workbook that contains the code, you must
first make a reference to the workbook that contains the custom function.
REFERENCES
Excel 97
For more information about custom functions, from the Visual Basic Editor, click
Contents and Index on the
Help menu, click the
Index tab in Help, type the following text
and then double-click the selected text to go to the
"Writing a Function Procedure" topic. If
you are unable to find the information you need, ask the Office
Assistant.
Excel 98 Macintosh Edition
For more information about custom functions, from the Visual Basic Editor, click the
Office Assistant, type
function, click
Search, and
then click to view
"Writing a Function Procedure."
Earlier Versions of Excel
For more information about custom functions, click
Answer Wizard on the
Help menu and type:
tell me how to create a user-defined function
Additional query words: 5.00a 5.00c
Keywords: kbdtacode kbhowto kbprogramming KB141288