Microsoft KB Archive/170949
PSS ID Number: 170949
Article Last Modified on 10/23/2000
The information in this article applies to:
- Microsoft Excel for Windows 95 7.0
This article was previously published under Q170949
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:
If you click Details, a message similar to the following appears:
When you click OK, Excel closes.
This problem occurs when the following conditions are true:
- You create a 3-D pie chart in Microsoft Excel 7.0. -and-
- You create a macro that contains a line of code that adds the Auto_Close defined name that refers to another macro. -and-
- The macro to which Auto_Close refers contains a line of code that deletes Auto_Close. -and-
- You run the macro that deletes the Auto_Close defined name.
When the Auto_Close macro runs, the following error message appears:
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: kbbug kberrmsg kbProgramming kbusage KB170949
Technology: kbExcel95 kbExcel95Search kbExcelSearch kbExcelWinSearch