ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Best way to set up chart to capture new data after macro runs? (https://www.excelbanter.com/charts-charting-excel/185584-best-way-set-up-chart-capture-new-data-after-macro-runs.html)

Ed from AZ

Best way to set up chart to capture new data after macro runs?
 
I have an XL 2003 workbook with four data sets next to each other on
Sheet 1. Because the Powers That Be want to see it vertically, I run
a macro that captures the range of each table and stacks them on top
of each other on Sheet 2.

I am creating a chart to go into Sheet 2, and I'm wondering what the
best way would be to make sure all of my updated data gets into the
chart series ranges. Can I use a Named Range as my X or Y data range,
then simply have my macro create the range names and let the chart
pick that up? Or should I use code to directly modify the chart's
data ranges?

Ed


All times are GMT +1. The time now is 02:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com