Does anyone see a problem with this? I am getting a run time error that say application-defined or object-defined error.
I tried naming a range and using that instead but couldn't get that to work either.
Code:
ActiveChart.SetSourceData Source:=Sheets("Comparison Analysis Data").Range( _
Cells(5, 1), Cells(chartrow - 1, cnum + 1))
I tried naming a range and using that instead but couldn't get that to work either.