Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Values of Datalabels in Chart

Status
Not open for further replies.

arvarr

MIS
Nov 24, 2009
260
AU
Hi
Is there any way via VBA that I can add up the values of the DataLabels in chart?

Thanks.
 


Hi,

Aren't the values of the datalabels, the values in your chart source data on a sheet?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hi Skip
Yes, you are correct, it is in the source data.
However, is there a code to retrieve the values directly from the chart?
Thanks.
 


Check out the DataLable object of the Point object of the Series object.

The DataLable object has several properties. I thin you'll find it there.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Thanks Skip , All good now.
I was using datalabel.value instead of datalabel.text so it did not work the first time.
Thanks for all your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top