Hi,
I'm kind of stuck right now. Trying to set the name of the series of a chart but keeps getting error 1004
"Unable to set/get Name property of the series class"
In chart(1), I had previously created 12 series (months)
I do debug.print worksheets(1).chartobjects(1).chart. _
seriescollection(i).count equals to 12. Correct!
But then, when I tried to set the name of each series, exp:
With worksheets(1).chartobjects(1).chart
.seriescollection(1).name = "X"
.seriescollection(2).name = "Y"
End with
Upon the 2nd series, I've already got the error message.
Can someone help me with this? I've no clue at all. Tried to surf help around, couldn't find answer to it.
Thanks ahead,
Tin Tin
I'm kind of stuck right now. Trying to set the name of the series of a chart but keeps getting error 1004
"Unable to set/get Name property of the series class"
In chart(1), I had previously created 12 series (months)
I do debug.print worksheets(1).chartobjects(1).chart. _
seriescollection(i).count equals to 12. Correct!
But then, when I tried to set the name of each series, exp:
With worksheets(1).chartobjects(1).chart
.seriescollection(1).name = "X"
.seriescollection(2).name = "Y"
End with
Upon the 2nd series, I've already got the error message.
Can someone help me with this? I've no clue at all. Tried to surf help around, couldn't find answer to it.
Thanks ahead,
Tin Tin