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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,584
Messages
6,125,669
Members
449,248
Latest member
wayneho98

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