Microsoft KB Archive/172323

= XL97: Page Fault When You Use CTRL Key to Run Macro in XLL =

Article ID: 172323

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q172323



SYMPTOMS
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.



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



WORKAROUND
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.



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



MORE INFORMATION
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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.