Powerpoint VBA chart with excel data

vbaauto2016

New Member
Joined
Oct 29, 2017
Messages
1
I have an odd problem and was wondering if anyone has a better approach altogether vs. helping me fix my current approach.

I have a robust excel and through a working macro:
1. I created 150 small charts and update their data
2. Creates multiple slides.

This all works fine, but everytime I edit the chart data in powerpoint using VBA it pauses and edits the hidden excel sheet in powerpoint.. no issue but it takes a lot of time to open and close excel for each powerpoint chart.

I thought of 2 other approaches, and here is where I could use some help.

1. Should I create all the data for the charts in excel first and then have each powerpoint chart just link to the one sheet using chartdata linking?

OR

2. Is there a way to have all the charts of a powerpoint use the same "hidden" excel sheet that automatically is generated when creating a chart.

Thank you any advice would be hugely appreciated.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
I would export the charts from Excel to PowerPoint as images and edit them in Excel as necessary. Use VBA to replace changed charts in PPT based on the dataset.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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