XL97: Printing After Deleting ActiveX Control Causes IPF

Last reviewed: January 9, 1998
Article ID: Q169056
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

If you perform a print or a print preview operation immediately after deleting an ActiveX control from your worksheet, you may receive the following error message:

   This program has perfomed 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 VBA332.DLL at
   0137:651af4f1.

CAUSE

This problem may result from the following sequence of events:

  1. You activate an ActiveX control.

  2. You print or print preview the worksheet.

  3. You enter Design Mode by clicking the Design Mode button on the Control Toolbox toolbar.

  4. You delete the ActiveX control.

  5. You print or print preview the worksheet.

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.

REFERENCES

For more information about using ActiveX controls in Microsoft Excel, click the Index tab in Microsoft Excel Help, type the following text

   ActiveX controls, adding

and then double-click the selected text to go to the "Add buttons, check boxes, or other controls to a worksheet" topic.


Additional query words: XL97
Keywords : xlgpf xlprint kbprint
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb
Solution Type : Info_Provided


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: January 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.