XL97: Illegal Operation Error Using ListBox Control

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.


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 list box ipf gpf crash chartsheet

Keywords : kberrmsg xldraw
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: November 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.