ID: Q170949
------------------------------------------------------------------ -------- The information in this article applies to:
After you run a macro and edit a three-dimensional pie chart, Excel for Windows 95 may stop responding, a general protection fault may occur, and the following error message may appear:
This program has performed an illegal operation
and will be shut down.
If you click Details, a message similar to the following appears:
Excel cause an invalid page fault in module
Mso97.dll at 0137:50603f25.
When you click OK, Excel closes.
This problem occurs when the following conditions are true:
-and-
-and-
-and-
The 3-D View Dialog code leaves internal variables set incorrectly.
When the workbook is closed, Excel 95 attempts to access an
uninitialized variable.
Microsoft provides examples of Visual Basic for Applications procedures for illustration only, without warranty either expressed or implied, including, but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures in this article are provided 'as is' and Microsoft does not guarantee that they can be used in all situations. While Microsoft support professionals can help explain the functionality of a particular macro, they will not modify these examples to provide added functionality, nor will they help you construct macros to meet your specific needs. If you have limited programming experience, you may want to consult one of the Microsoft Solution Providers. Solution Providers offer a wide range of fee-based services, including creating custom macros. For more information about Microsoft Solution Providers, call Microsoft Customer Information Service at (800) 426-9400.
To resolve this problem, add the following code to the beginning of the macro that is referenced by Auto_Close:
Application.MacroOptions Macro:="DeleteAutoClose", _
Description:="Delete Auto Close"
Microsoft has confirmed this to be a problem in Microsoft Excel for Windows 95, version 7.0. This problem was corrected in Microsoft Excel 97 for Windows.
Keywords : kberrmsg kbprg kbusage xlchart kbbuglist
Version : WINDOWS:7.0
Platform : winnt
Hardware : ALPHA PPC x86
Issue type : kbbug
Last Reviewed: May 17, 1999