XL5: GP Fault Evaluating INDIRECT() in Defined Name on Chart |
In Microsoft Excel version 5.0, if you open a Microsoft Excel version 4.0 chart file, and the chart has a reference that contains the INDIRECT() function in a defined name, you receive a general protection (GP) fault if you evaluate the reference in the formula bar.
When you open a Microsoft Excel version 4.0 file that contains a defined
name, the name is defined as a global name, rather than a local name. If
the name contains the INDIRECT() function, and the reference in the
function does not contain the worksheet name, the INDIRECT() function
evaluates the reference on the current sheet.
In Microsoft Excel version 5.0, when you open a Microsoft Excel version 4.0
chart, or if you activate a chart contained in a version 4.0 workbook, and
a reference on the chart contains the INDIRECT() function, you receive the
following error message:
Note that this same error message appears if you create a chart in Microsoft Excel version 5.0, and then reference a defined name that contains the INDIRECT() function.External reference is not valid
=INDIRECT("Sheet1!$A$1")
instead of:
=INDIRECT("$A$1")
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
Microsoft Excel for Windows version 5.0c.
In Microsoft Excel version 5.0c, you still receive the "External
reference is not valid" error message when you activate the chart sheet.
However, when you evaluate the reference on the chart, you do not
receive a GP fault. Instead, the reference evaluates to the #REF! Error
value.
For more information about INDIRECT, choose the Search button in Help and type:
INDIRECT function
Additional query words: gpf
Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |