The information in this article applies to:
SUMMARYIn Microsoft Excel 5.0, it may not be possible for a Visual Basic subroutine to select an individual data label attached to a filled radar series. WORKAROUND
If your subroutine must select an individual data label attached to a
filled radar series, you can use the Application.ExecuteExcel4Macro
method to select the label.
However, if the label is attached to a filled radar series, you must use
the following instead:
Note that the double quotation marks inside the parentheses are necessary
because the method will remove a complete set when the command is executed.
MORE INFORMATIONIn Microsoft Excel, there are two types of radar charts:
In the Microsoft Excel ChartWizard, only the type 6 radar chart is a filled
radar chart (all other types of radar chart are wireframes). You cannot mix
a wireframe and a filled radar series in the same chart.
If you are recording a Visual Basic macro and you select an individual data label attached to a series (in this example, the fourth point of the second series), the recorded code looks like this:
If you run this line of code when the second series is a filled radar
series, you will receive the error message
The code will run correctly if the series is any other type of series, including a wireframe radar series. To select an individual data label attached to a filled radar series, you must use the Application.ExecuteExcel4Macro method, shown above. Visual Basic Code ExampleMicrosoft provides programming examples 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. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:http://www.microsoft.com/support/supportnet/overview/overview.aspThis Visual Basic code example selects the label attached to the fifth point of the second series in a chart and moves the label to the coordinates 20,20. The series is a filled radar series, so the Application.ExecuteExcel4Macro is used to avoid the error described above.
Additional query words: 5.00a 5.00c XL5
Keywords : kbprg PgmOthr |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |