Hello, I am working on a macro that creates a pie chart based on some data and then changes the 3d rotation of the pie chart. The problem is when I run the macro it will not work because part of the code refers to the chart as Chart 1 but every time the the macro makes a new chart it gets a new number added on the end such as Chart 1, Chart 2 etc. Is there some way that each chart created will have the same name? I tried re recording the macro and naming the chart in Excel but that still did not work. Here is my code:
Any suggestions to fix this problem are welcome. Thanks.
Bookmarks