Series.HasDataLabels property (Excel)
True if the series has data labels. Read/write Boolean.
Syntax
expression.HasDataLabels
expression A variable that represents a Series object.
Example
This example turns on data labels for series three on Chart1.
With Charts("Chart1").SeriesCollection(3)
.HasDataLabels = True
.ApplyDataLabels Type:=xlValue
End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.