VBA Express Forum  




Go Back   VBA Express Forum > VBA Code & Other Help > PowerPoint Help
     Feedback     
Register FAQ Members Arcade Knowledge Base Training Articles Consulting

Reply
 
Thread Tools Display Modes
Old 02-06-2012, 07:51 AM   #1
jmenche

 
Joined: Jun 2005
Posts: 160
Kb Entries: 0
Articles: 0
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

Attached Files To view attachments your post count must be 0 or greater. Your post count is 0 momentarily.

Local Time: 06:47 PM
Local Date: 05-21-2013

 
Reply With Quote Top
Old 02-22-2012, 09:47 PM   #2
raji2678

 
Joined: Feb 2012
Posts: 36
Kb Entries: 0
Articles: 0
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.
Attached Files To view attachments your post count must be 0 or greater. Your post count is 0 momentarily.

Last edited by raji2678 : 02-22-2012 at 10:20 PM. Reason: Attachment

Local Time: 08:17 AM
Local Date: 05-22-2013
Location:

 
Reply With Quote Top
Old 02-23-2012, 06:42 AM   #3
jmenche

 
Joined: Jun 2005
Posts: 160
Kb Entries: 0
Articles: 0
Quote:
 
Originally Posted by: raji2678
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.


Thanks!

Local Time: 06:47 PM
Local Date: 05-21-2013

 
Reply With Quote Top
Old 03-26-2012, 09:21 AM   #4
delete123

 
Joined: Mar 2012
Posts: 9
Kb Entries: 0
Articles: 0
thank you brother

Local Time: 06:47 PM
Local Date: 05-21-2013
Location:

 
Reply With Quote Top
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 07:47 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2012 VBA Express