Hello,
I'm having some problems when trying to hide and unhide a data series, in a bubble chart, using VBA.
The code I'm using is this, it changes the color of the bubble from white to green, and when its white, it gets hidden:
The color does change, and I do get the "hiding" effect, but still there is a thin border line that remains green even after I change the color, and I've tried all sorts of things in order to change its color also, but I can't seem to get it to work.
Could someone help me?
Thanks in advance
I'm having some problems when trying to hide and unhide a data series, in a bubble chart, using VBA.
The code I'm using is this, it changes the color of the bubble from white to green, and when its white, it gets hidden:
HTML:
Sheets("overview").ChartObjects("Chart 6").Activate
With ActiveChart.SeriesCollection("high high")
If .Interior.ColorIndex = -4142 Then
.Interior.ColorIndex = 2
.Border.ColorIndex = 2
Else
.Interior.ColorIndex = -4142
.Border.ColorIndex = -4142
End If
End With
Could someone help me?
Thanks in advance