Microsoft KB Archive/169056

From BetaArchive Wiki
Knowledge Base

XL97: Printing After Deleting ActiveX Control Causes IPF

Article ID: 169056

Article Last Modified on 9/7/2001


  • Microsoft Excel 97 Standard Edition

This article was previously published under Q169056


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.


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.


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


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: kbprint KB169056