sporenza
asked on
Excel 2003 Make Graph on changing table
Hi All,
I have a chart that is list a bunch of suff (obviously). I have a visual basic script that filters this data down to four rows....
I then have a graph that is based on the current four rows.
My problem is that the rows may never be the same. So I can not write something like:
ActiveChart.SeriesCollecti on(2).Valu es = "='results'!$B$32:$B$35"
because the rows may be showing rows 131-134...
So my question is, is there a way to put the values of a series based on an updated table.. wonder if this makes sense...
I have a chart that is list a bunch of suff (obviously). I have a visual basic script that filters this data down to four rows....
I then have a graph that is based on the current four rows.
My problem is that the rows may never be the same. So I can not write something like:
ActiveChart.SeriesCollecti
because the rows may be showing rows 131-134...
So my question is, is there a way to put the values of a series based on an updated table.. wonder if this makes sense...
ASKER
Actualy
ActiveChart.SeriesCollecti on(1).XVal ues = "=results!R2C1:R5C1"
Works but it is still A2:A5,
I want the first 5 visible rows...
ActiveChart.SeriesCollecti
Works but it is still A2:A5,
I want the first 5 visible rows...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ActiveChart.SeriesCollecti
This does not work either....
I get the error "Invalid Parameter"