ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Programmatically find out if Chart displays Percentages (https://www.excelbanter.com/charts-charting-excel/106327-programmatically-find-out-if-chart-displays-percentages.html)

Grant

Programmatically find out if Chart displays Percentages
 
Hi all,

I am trying to find out if a Chart has it's data labels showing Percentages
from VBA code.

Can anyone help me with this.

Thanks in advance.

Kind Regards,

Grant.

Jon Peltier

Programmatically find out if Chart displays Percentages
 
Example using the Immediate Window:

?ActiveChart.SeriesCollection(1).DataLabels.ShowPe rcentage
True

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"Grant" wrote in message
...
Hi all,

I am trying to find out if a Chart has it's data labels showing
Percentages
from VBA code.

Can anyone help me with this.

Thanks in advance.

Kind Regards,

Grant.





All times are GMT +1. The time now is 12:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com