XL5: GET.CHART.ITEM() Returns #Value! If Chart Item Selected |
In Microsoft Excel version 5.0, if you use the GET.CHART.ITEM() function in a Microsoft Excel version 4.0 macro, the function may return the #VALUE! error value instead of the position of the selected chart item.
This error value is returned under either of the following conditions:
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.
To avoid receiving the #VALUE! error, use the SELECT() function to make sure no chart item is selected before you use the GET.CHART.ITEM() function to return a chart item. The following example returns the horizontal coordinate of the arrow shaft of "Arrow 1" even if another arrow on the chart is selected:
=SELECT()
=GET.CHART.ITEM(1, 1, "Arrow 1")
You can use the GET.CHART.ITEM() function to return the horizontal or
vertical position of a point on a chart item.
For more information about the GET.CHART.ITEM() function, do the following:
GET.CHART.ITEM function
Additional query words:
Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |