Microsoft KB Archive/171362
Article ID: 171362
Article Last Modified on 11/23/2006
- Microsoft Excel 97 Standard Edition
This article was previously published under Q171362
When you calculate a formula in the formula bar by pressing F9, you may receive the following error message:
If you click Details, you receive an error message similar to the following:
This problem occurs when you do the following:
- You create a custom function in a workbook and save the workbook as a Microsoft Excel add-in. -and-
- You enter a formula that uses the user-defined function more than once. -and-
- You select the cell that contains the formula. -and-
- You click in the formula bar and press F9.
To correct this problem, install Microsoft Excel 97 Service Release 1 (SR-1).
Microsoft has confirmed this to be a problem in Microsoft Excel 97. This problem was corrected in Microsoft Excel SR-1.
For additional information about SR-1, please see the following article in the Microsoft Knowledge Base:
172475 OFF97: How to Obtain and Install MS Office 97 SR-1
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:
For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:
When you create a custom function in Microsoft Excel, you can save a workbook as an add-in by selecting the Microsoft Excel Add-In (*.xla) file type in the Save As dialog box. However, if you install the add-in in the Add-Ins dialog and use your user-defined function in a formula, Excel may close unexpectedly. This problem occurs if the formula refers to the custom function more than once. For example, the following formula causes Excel to fail when you select the formula in the formula bar and press F9 to calculate the formula:
Note that in this example, the custom function is the following:
Function MyFunction(x as integer) MyFunction = x End Function
Additional query words: 97 XL97 ipf gpf crash sr1
Keywords: kbbug kberrmsg kbfix kbprogramming KB171362