I "said too much".
The approach with "SelectedPoint.DataLabel.Name" works only when the point has a data label (SelectedPoint.HasDataLabel = True).
For a point without a data label (SelectedPoint.HasDataLabel = False) it does not work. "SelectedPoint.DataLabel.Name" results in the error "Unable to get the Name property ..."
(and SelectedPoint.DataLabel.Name = <Unable to get the Name property ...>).
So, how do I do it on a point without a data label?
"SelectedPoint.Name" yields the error "Object variable or With block variable not set".
/dindea![]()
Bookmarks