I’m trying to change the font color of the data labels in a Sunburst chart in Excel using VBA.
So far, I’ve tried several approaches over the past two days, but I can’t seem to access or modify the color property of the series’ data labels. For example:
ActiveChart.FullSeriesCollection(1).DataLabels.Font.Color = RGB(255, 0, 0)
This works fine for other chart types (like pie or column charts), but it doesn’t seem to have any effect on a Sunburst chart.
Has anyone managed to change the font color of Sunburst chart data labels via VBA?
Any help or workaround would be greatly appreciated.
Thanks in advance!