XL97: Illegal Operation Error Using ListBox Control (166987)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q166987 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
and then double-click the selected text to go to the "Add buttons, check
boxes or other controls to a worksheet" topic.
Modification Type: | Major | Last Reviewed: | 10/22/2000 |
---|
Keywords: | kberrmsg kbprb KB166987 |
---|
|