title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Point.HasDataLabel property (Excel) |
vbaxl10.chm576081 |
|
|
924f70a0-fdeb-e155-c857-55e0dfb7ca60 |
05/09/2019 |
medium |
True if the point has a data label. Read/write Boolean.
expression.HasDataLabel
expression A variable that represents a Point object.
This example turns on the data label for point seven in series three on Chart1, and then it sets the data label color to blue.
With Charts("Chart1").SeriesCollection(3).Points(7)
.HasDataLabel = True
.ApplyDataLabels Type:=xlValue
.DataLabel.Font.ColorIndex = 5
End With
[!includeSupport and feedback]