G
Guest
Hi -
I hate to take up people's time with such a simple problem, but I have
looked for the answer everywhere I can think of and have come up dry. So
thanks for your help in advance.
I need to find the data range for a chart. My goal is to change the data
range to include new data I have added to the worksheet. The number of rows
of new data may be different each time I run this macro, and, of course, the
data range for the chart will be different every time I run the macro, since
I will have changed it previously.
I have scoured the plotarea and chart objects as well as the range object
and can't figure it out. I have recorded a macro in which I select the
plotarea and then use right click to get to the dialog box that specifies the
data range, but the VB resulting from this recording doesn't include anything
other than making the chart object active.
thanks
George.
I hate to take up people's time with such a simple problem, but I have
looked for the answer everywhere I can think of and have come up dry. So
thanks for your help in advance.
I need to find the data range for a chart. My goal is to change the data
range to include new data I have added to the worksheet. The number of rows
of new data may be different each time I run this macro, and, of course, the
data range for the chart will be different every time I run the macro, since
I will have changed it previously.
I have scoured the plotarea and chart objects as well as the range object
and can't figure it out. I have recorded a macro in which I select the
plotarea and then use right click to get to the dialog box that specifies the
data range, but the VB resulting from this recording doesn't include anything
other than making the chart object active.
thanks
George.