ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macros to Create Pie Chart (https://www.excelbanter.com/excel-programming/290005-macros-create-pie-chart.html)

matt

Macros to Create Pie Chart
 
I recorded a macro to create a simple pie chart using
Chart Wizard that had the data labels shown on the chart
as percentages. When I rerun the macro, however, I get
errors and a chart that is incomplete. Is there something
one has to do to record a chart macro that works
correctly? Does anyone have any VBA code examples that can
do this?

Jon Peltier

Macros to Create Pie Chart
 
Matt -

I don't know if I have any pie chart examples on my web site, but there
are lots of other things:

http://peltiertech.com/Excel/Charts/chartvba.html

If you get a specific error, post the relevant parts of your code, and
indicate the line with the error. That'll make it easier to help.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

Matt wrote:

I recorded a macro to create a simple pie chart using
Chart Wizard that had the data labels shown on the chart
as percentages. When I rerun the macro, however, I get
errors and a chart that is incomplete. Is there something
one has to do to record a chart macro that works
correctly? Does anyone have any VBA code examples that can
do this?




All times are GMT +1. The time now is 07:34 PM.

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