XL98: Type 2 Error Adding User-Defined Chart Type

ID: Q196423


The information in this article applies to:


SYMPTOMS

When you click OK in the Add Custom Chart Type dialog box, the program may disappear or you may receive the following error message:

The application "Microsoft Excel" has unexpectedly quit, because an error of type 2 occurred.

You should save your work in other open applications and restart the computer.


CAUSE

This problem occurs when the following conditions are true:


WORKAROUND

To work around the problem, follow these steps:

  1. Click the chart that you want to use.


  2. On the Chart menu, click Location. Click As New Sheet, and then click OK.

    Excel moves the chart to a chart sheet.


  3. On the Chart menu, click Chart Type. Click the Custom Types tab.


  4. Under Select From, click User-defined. Click Add.


  5. In the Add Custom Chart Type dialog box, type the name for your user-defined chart type in the Name box. Click OK.


  6. Click OK to close the Chart Type dialog box.

    Excel saves the user-defined chart type.


  7. On the Chart menu, click Location. Click As Object In.


  8. In the As Object In list, click the worksheet that you want to move the chart to, and then click OK.



STATUS

Microsoft has confirmed this to be a problem in Microsoft Excel 98 Macintosh Edition.

Additional query words: XL98


Keywords          : kberrmsg xlgpf 
Version           : MACINTOSH:8.5,98
Platform          : MACINTOSH 
Issue type        : kbbug 

Last Reviewed: June 15, 1999