(Solved) – How can I add new/additionl data labels to pie chart using VBA from range?

(solved)-–-how-can-i-add-new/additionl-data-labels-to-pie-chart-using-vba-from-range?

I would like to add new/additional data labels from range using VBA (not working):

Sub pptfromexcel()

Set chart5 = ActiveSheet.ChartObjects("Chart 5")
Sheets("Wykresy").ChartObjects("Chart 5").Chart.DataLabel.Text = True
Sheets("Wykresy").ChartObjects("Chart 5").Chart.DataLabel.Text = Sheets("Wykresy").Range("I32:I39").Text

End Sub

Leave a Reply

Your email address will not be published. Required fields are marked *