D
doofy
I'm trying to adjust the data range for a chart, based on how many rows
of data have been imported in. The data range will be in the same
worksheet as the chart.
rowEnrolling and rowCnt are integers, but using integers to concat to a
string has been working so far.
Here's my line of code:
ws.ChartObjects(1).chart.seriescollection(1).values = ws.Range("f" &
rowEnrolling & ":f" & rowCnt - 1)
and I get a "data type mismatch", I'm assuming that the
seriescollection(1).values is not matching the ws.range
Any pointers on this?
of data have been imported in. The data range will be in the same
worksheet as the chart.
rowEnrolling and rowCnt are integers, but using integers to concat to a
string has been working so far.
Here's my line of code:
ws.ChartObjects(1).chart.seriescollection(1).values = ws.Range("f" &
rowEnrolling & ":f" & rowCnt - 1)
and I get a "data type mismatch", I'm assuming that the
seriescollection(1).values is not matching the ws.range
Any pointers on this?