为VBA提供数据标签excel
答
您在ApplyDataLabels方法之后。确保你阅读了文档,它有很多可选的参数。
Sub Example()
Dim sc As Excel.Series
For Each sc In Chart2.SeriesCollection
sc.ApplyDataLabels xlDataLabelsShowValue, True, True, False, True
Next
End Sub