HasDataLabels Property

Microsoft Excel Visual Basic

True if the series has data labels. Read/write Boolean.

Example

This example turns on data labels for series three in Chart1.

With Charts("Chart1").SeriesCollection(3)
    .HasDataLabels = True
    .ApplyDataLabels Type:=xlValue
End With