Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
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).value s = 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? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to dynamically change the series range of a chart ? | Charts and Charting in Excel | |||
Programmatically find out if Chart displays Percentages | Charts and Charting in Excel | |||
copying data from an unopened file programmatically | Excel Discussion (Misc queries) | |||
How do I change a range name back to the underlying data range? | Excel Worksheet Functions | |||
Can I use named range in data range box when creating pie chart? | Charts and Charting in Excel |