Description of limitations of custom functions in Excel (170787)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel X for Mac
- Microsoft Excel 2001 for Mac
- Microsoft Excel 98 Macintosh Edition
- Microsoft Excel for the Macintosh 5.0
This article was previously published under Q170787 SUMMARY In the versions of Microsoft Excel listed in the "Applies To" section, you can create a user-defined function that returns a custom
calculation by using Visual Basic for Applications. However, user-defined
functions cannot perform actions that change the Microsoft Excel environment
when called by a formula in a worksheet cell. REFERENCES "Visual Basic User's Guide" version 5.0, Chapter 4, "What
Is a Visual Basic Procedure"
"Writing a user-defined worksheet
function", Microsoft Excel 7.0 Visual Basic Help File.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbfunctions kbinfo kbProgramming KB170787 |
---|
|