VBA - Paste graph from excel to a specific position in powerpoint slide

yattick

New Member
Joined
May 28, 2017
Messages
1
Hello!
I have an sheet in excel with 3 graphics, I would like to copy them and paste into the same slide in powerpoint, the problem that I am currently facing is that I am not able to paste the graphs at an specific position, so I am pasting the 3 graphics at the same place in the Powerpoint slide.
Here is the current code:

pastetopowerpoint, Visual Basic - rextester

After posting in Reddit, I got some help from an user which changed the charts to be pasted as objects, would there be anyway to do this but maintaining the graph formatting from excel?

Code: gotoslide2, Visual Basic - rextester
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,215,065
Messages
6,122,944
Members
449,095
Latest member
nmaske

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