PowerPoint chart automation

WaxonWaxov

Board Regular
Joined
Apr 9, 2009
Messages
141
Disclaimer: I hate PowerPoint, but my boss makes me use it.

OK,

How do I automate using VBA code the following:

1) When I open the "template" ppt file which has charts with data being linked to an external Excel file, the data should reflect the current data... it does not by default. You right-click "edit data" to get it to refresh.

2) Then I want the data sources for the charts to become static, not referencing the Excel file (similar to copy/paste special values in Excel)

3) then the ppt file should save itself with a new name as to not copy over the template file.

Make sense?

Sometimes I just want to scream "PowerPoint is not a reporting engine!"

thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,225,668
Messages
6,186,334
Members
453,349
Latest member
neam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top