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

Last reviewed: March 13, 1998
Article ID: Q172323
The information in this article applies to:
  • Microsoft Excel 97 for Windows

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. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

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 : kbprg xlvbainfo xlui xladdins
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 13, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.