Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a 2 column data set that I need to chart. The last row of this
dataset can increase or decrease. I need the chart to reflect the values dynamically. For this, I am calculating the last row value in the macro and transferring it to the variable "lr". When I try to introduce the value of lr in the following statement and run it, I get an error "Run-time error '1004': Method 'run' of object '_application' failed" activechart.setsourcedata source:=sheets(custname).range("c1:d" & lr & "), plotby:=xlcolumns Does anyone know how to resolve this problem? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic Scaling for Charts | Charts and Charting in Excel | |||
dynamic charts | Charts and Charting in Excel | |||
Can't create dynamic charts | Charts and Charting in Excel | |||
Dynamic Charts | Excel Discussion (Misc queries) | |||
Can I post dynamic line charts by swapping out .cvs files??? | Charts and Charting in Excel |