H
Henning Winkler
Hi,
I want to change the color of a line in a linechart (Excel97) by VB6.
There a 3 lines (I can see my control message
..Chart.Seriescollection.Count = 3 -> OK!)
But if I change the color by
..Chart.SeriesCollection(1).Border.ColorIndex = 3
or
..Chart.SeriesCollection(1).Border.Color = RGB(255,0,0)
an error occured:
"The property ColorIndex cannot be changed!" or something like that.
Can anybody tell me what's wrong.
Thanks
Henning
I want to change the color of a line in a linechart (Excel97) by VB6.
There a 3 lines (I can see my control message
..Chart.Seriescollection.Count = 3 -> OK!)
But if I change the color by
..Chart.SeriesCollection(1).Border.ColorIndex = 3
or
..Chart.SeriesCollection(1).Border.Color = RGB(255,0,0)
an error occured:
"The property ColorIndex cannot be changed!" or something like that.
Can anybody tell me what's wrong.
Thanks
Henning