G
Guest
Can anyone help with formatting a chart that is generated at the end of a macro.
My macro is pretty simple - calculates averages etc on some columns of data then plots some of the data in an XY chart.
As this done a large number of times for different data sets, I wish to have the chart heading reflect the data it came from i.e get the average speed from one cell and average load from another cell and then put this in the heading.
The degree of difficulty increases by the fact that the averages I want to use are numbers from calculations and I want to seperate them by some text...
for example, heading would be: "blah blah" "xxxx" "rpm" "yyy" load
where xxxx and yyy are the averages I wish to pick up from the worksheet.
Any help from macro masters would be appreciated.
My macro is pretty simple - calculates averages etc on some columns of data then plots some of the data in an XY chart.
As this done a large number of times for different data sets, I wish to have the chart heading reflect the data it came from i.e get the average speed from one cell and average load from another cell and then put this in the heading.
The degree of difficulty increases by the fact that the averages I want to use are numbers from calculations and I want to seperate them by some text...
for example, heading would be: "blah blah" "xxxx" "rpm" "yyy" load
where xxxx and yyy are the averages I wish to pick up from the worksheet.
Any help from macro masters would be appreciated.