XL97: Illegal Operation Error Using ListBox Control

Last reviewed: February 12, 1998
Article ID: Q166987
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

In a chart sheet, when you resize a ListBox control or attempt to paste a ListBox control, Microsoft Excel 97 displays one of the following error messages:

Microsoft Windows 95

   This program has performed an illegal operation and will be shutdown.

If you click Details, the following is displayed:

   EXCEL caused a divide error in module EXCEL.EXE at <memory address>

When you click Close, the program is closed.

Microsoft Windows NT 4.0

   An application error has occurred and an application error log
   is being generated.

   EXCEL.exe
   Exception divide by zero <memory address>

When you click OK or Cancel, the program is closed.

CAUSE

This problem occurs when you do the following:

  • You draw a ListBox control on a chart sheet.

        -and-
    
  • You size the control.

-or-
  • You draw a ListBox control on a worksheet.

        -and-
    
  • You copy the ListBox, and then attempt to paste it onto a chart sheet.

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

A ListBox control is available as part of the Forms toolbar. You can draw controls on a worksheet and a chart sheet. You can resize a control by moving the border of the control or by changing the properties of the control. To change the properties, select the control and click Control on the Format menu. Click the Size tab and change the Height and Width settings.

REFERENCES

For more information about creating a ListBox control, click the Index tab in Microsoft Excel Help, type the following text

   list boxes

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 listbox ipf gpf crash chartsheet
Keywords : xldraw kberrmsg
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb


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