Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/172323

From BetaArchive Wiki
Knowledge Base

Article ID: 172323

Article Last Modified on 10/11/2006


  • Microsoft Excel 97 Standard Edition

This article was previously published under Q172323


In Microsoft Excel 97, if you run a macro by pressing both CTRL and a letter key, 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 KERNEL32.DLL at 0137:bff857e7.


This problem occurs if the CTRL key combination you are pressing is assigned to a macro that is contained within an XLL file.


To work around this problem, do not use CTRL key combinations to run macros that are contained within XLL files.

If you are developing an XLL file, do not assign CTRL key combinations to macros within the XLL file. These combinations do not work in Excel 97 or any earlier version of Excel.


Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


XLL files are special DLL files that add macros and functionality to Excel when opened. For example, the Analysis.xll file included with Excel provides new functions that Visual Basic for Applications macros can use.

In earlier versions of Excel, if you open an XLL file that contains macros, and then press the CTRL key combination for a macro in the XLL file, the macro does not run. If you do this in Excel 97, you receive the error messages shown above.

Additional query words: XL97 ipf generic.xll analysis.xll

Keywords: kberrmsg kbbug kbprogramming KB172323