I have a basic Gantt chart with a table as its data source, however, when another name is selected somewhere on the sheet, this table gets emptied and refilled with the data that belongs to the chosen name.
There is one data point the same for every name and I want its bar to have another color.
I know about this way to reference a data point:
ActiveChart.FullSeriesCollection(2).Points(3)
But that wont work in my example because the amount of data points keeps changing and the same thing is not always in the third position.
I tried this, but like I thought it throws me a type mismatch error:
ActiveChart.FullSeriesCollection(2).Points("SomeString")
Is it possible to reference a data point by its name in VBA?

