Although the solution of Bo_Ry is satisfactory, it does not give an answer to my question about the datalabels
pnts = Points.Count = 24, and t is stuck at 16 when it comes to address labels.
When I assign colors only, regardless of labels it goes very well, see below, where in each of the Cells(1, t) is a certain Interior.Color.
But my goal is actually to "match" the datatable with the content of the DataLabels. I would expect that there are to be found 24 DataLabels.texts or .Captions and I cannot figure out why this gives an error at t = 16 in a line like:
additional information: somehow at t=16 (Jun) and t = 23 (Nov), the HasDataLabel value = False. How is that possible? What is the alternative?
Cheers
Erwin
Bookmarks