ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Variable size of chart (https://www.excelbanter.com/charts-charting-excel/167145-variable-size-chart.html)

Derek Locke

Variable size of chart
 
I would like to write some VBA code that can use a chart, and control the
range of the source data from the code, so avoid manually changing anything.
Is this possible?

Jon Peltier

Variable size of chart
 
You don't necessarily need code if you make use of dynamic names as the
chart series data:

http://peltiertech.com/Excel/Charts/...umnChart1.html
http://peltiertech.com/Excel/Charts/Dynamics.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Derek Locke" <Derek wrote in message
...
I would like to write some VBA code that can use a chart, and control the
range of the source data from the code, so avoid manually changing
anything.
Is this possible?




Derek Locke[_2_]

Variable size of chart
 
Many thanks - Derek Locke

"Jon Peltier" wrote:

You don't necessarily need code if you make use of dynamic names as the
chart series data:

http://peltiertech.com/Excel/Charts/...umnChart1.html
http://peltiertech.com/Excel/Charts/Dynamics.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Derek Locke" <Derek wrote in message
...
I would like to write some VBA code that can use a chart, and control the
range of the source data from the code, so avoid manually changing
anything.
Is this possible?






All times are GMT +1. The time now is 10:23 AM.

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