XL2000: How to Programmatically Create a Chart Without Selecting a Range of Cells (213352)
The information in this article applies to:
This article was previously published under Q213352 SUMMARY
When you record a macro to create a chart (on the Tools menu, point to Macro, and then click Record New Macro), the range of cells used to create the chart is fixed by Microsoft Excel. This article contains a sample Microsoft Visual Basic for Applications macro that you can use to create a chart without the need to use a fixed range of cells.
REFERENCESFor more information about the ChartWizard method, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type chartwizard method in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbinfo kbProgramming KB213352 |
---|
|