XL97: Error Message Calculating Custom Function in Formula BarLast reviewed: January 7, 1998Article ID: Q171362 |
The information in this article applies to:
SYMPTOMSWhen you calculate a formula in the formula bar by pressing F9, you may receive the following error message:
This program has performed an illegal operation and will be shut down. If the problem persists contact the program vendor.If you click Details, you receive an error message similar to the following:
EXCEL caused an invalid page fault in module EXCEL.EXE at 0137:301b7f65. CAUSEThis problem occurs when you do the following:
RESOLUTIONTo correct this problem, install Microsoft Excel 97 Service Release 1 (SR-1).
STATUSMicrosoft 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:
ARTICLE-ID: Q172475 TITLE : OFF97: How to Obtain and Install MS Office 97 SR-1 MORE INFORMATIONMicrosoft 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 engineers 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 the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/default.aspWhen 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:
=MyFunction(1)+MyFunction(2)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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |