Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 914 Bytes

Excel.Point.DataLabel.md

File metadata and controls

40 lines (26 loc) · 914 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Point.DataLabel property (Excel)
vbaxl10.chm576078
vbaxl10.chm576078
Excel.Point.DataLabel
2f860d46-c6b5-50cf-b0af-4c46d9f7b2ac
05/09/2019
medium

Point.DataLabel property (Excel)

Returns a DataLabel object that represents the data label associated with the point. Read-only.

Syntax

expression.DataLabel

expression A variable that represents a Point object.

Example

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]