Hi there,
I'm not very experienced in programming VBA, but I have to..
My problem is, that I want to send a variable to a series in a chart..
and I tried it like this :
Worksheets("L CDMBAN1"
.ChartObjects(1).Activate
ActiveChart.PlotArea.Select
'MsgBox ("=L CDMBAN1!R3C" & iColData & ":R" & intSweep & "C" & iColData)
ActiveChart.SeriesCollection(iColDataInt).XValues = "=L CDMBAN1!R3C" & iColData & ":R" & intSweep & "C" & iColData
I always get a $#@% error, and tried a ton of changes, but nothing helps.
Please excuse my bad english, I'm german
I'm not very experienced in programming VBA, but I have to..
My problem is, that I want to send a variable to a series in a chart..
and I tried it like this :
Worksheets("L CDMBAN1"

ActiveChart.PlotArea.Select
'MsgBox ("=L CDMBAN1!R3C" & iColData & ":R" & intSweep & "C" & iColData)
ActiveChart.SeriesCollection(iColDataInt).XValues = "=L CDMBAN1!R3C" & iColData & ":R" & intSweep & "C" & iColData
I always get a $#@% error, and tried a ton of changes, but nothing helps.
Please excuse my bad english, I'm german