The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SYMPTOMSWhen you attempt to add a new chart to a workbook or access the chart data source, you may receive the following error message: If you are using a Microsoft Visual Basic for Applications macro to add chart sheets to a workbook, you may also receive the following error message:
CAUSE
This problem may occur if you add more than 124 charts to a workbook when
editing the workbook in Microsoft Excel 97 or Microsoft Excel 97 Service Release 1 (SR-1).
RESOLUTION
To correct this problem, obtain Microsoft Excel 97 Service Release 2
(SR-2) and perform the following steps.
HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Excel\Microsoft Excel If you are unable to obtain Microsoft Excel 97 SR-2, you may be able to work around this limitation by using either of the following methods. Method 1: Turn Off the Auto Scale Option for Fonts in Your Charts
Method 2: Move Charts into Another WorkbookYou may also be able to work around this limitation by moving some of the charts in your workbook into another workbook. Note that charts moved to another workbook remain linked to the data in the original workbook.NOTE: If you remove embedded charts from a worksheet and add additional charts, the "Not enough memory" error message appears unless you first save, close, and then reopen the workbook. If you delete chart sheets or worksheets that contained embedded charts, you can then add new charts up to the limit without receiving the error message and without saving, closing, and then reopening the file. STATUS
Microsoft has confirmed this to be a problem in Microsoft Excel 97 for
Windows. This problem was corrected in Microsoft Office 97 Service Release
2 (SR-2).
Q151261 OFF97: How to Obtain and Install MS Office 97 SR-2 MORE INFORMATIONIn Microsoft Excel 97, there is a limit of 256 fonts that may be used by the program. When you create a chart, the chart uses two fonts if the Auto scale check box for that chart is selected (this is the default behavior in Microsoft Excel 97). For example, it is possible to exceed the limit of fonts by creating a workbook that contains the objects in the following table:
If you attempt to add another chart to the workbook, the total number
of fonts used would be 257. Because this would exceed the limit of 256
fonts, you receive a "Not enough memory" error message.
Clearing the Auto scale check box for each chart may allow you to extend the maximum number of charts that can be added to the workbook. Additional query words: XL97
Keywords : kberrmsg kbdta kbchart |
Last Reviewed: September 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |