![]() |
|
||||||||
| Site Links |
| Consulting |
| Knowledge Base |
| Training |
| Forum |
| Articles |
| Resources |
| Products |
| Cool Tools |
| Contact |
| About Us |
| Go to Page... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
|
Solved: Loop through charts
Hi,
I'm pretty good in Excel VBA but this is my first foray into PowerPoint VBA and i'm getting stuck on simple object model stuff. Why did they get rid of the macro recorder?? I am trying to loop through the charts and change the chart type. I have my own chart template called (LEGO Column). Here's the other rub. There will be different chart types and a template for each one. What I really need is a macro that will a) determine the chart type on the slide and then b) change it to the appropriate template. My guess is some kind of case select. A simple outline on how to do this is fine. I'm good enough in vba to adapt. I would appreciate any help as i'm under a deadline. Thanks Jeff ![]() |
|
Local Time: 06:47 PM
Local Date: 05-21-2013 |
|
|
|
#2 |
|
|
You will have to use a proper chart object, instead of an OLE object. In this way, you will be able to change the chart type. i have included the solution.Hope that helps.
Last edited by raji2678 : 02-22-2012 at 10:20 PM. Reason: Attachment |
|
Local Time: 08:17 AM
Local Date: 05-22-2013 Location:
|
|
|
|
#3 | |||||||||||||||||||||||
|
|
Thanks! |
|||||||||||||||||||||||
|
Local Time: 06:47 PM
Local Date: 05-21-2013 |
|
|
|
#4 |
|
|
thank you brother
|
|
Local Time: 06:47 PM
Local Date: 05-21-2013 Location:
|
|
![]() |
| Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|


