Copy - Paste Special query

Sim85

New Member
Joined
Jul 7, 2011
Messages
2
Hi there,

I have a standard template in PowerPoint (A4 sized) which I populate with a series of tables and charts generated in Excel. I tend to copy then paste special to create an excel linked object which is fine.

The problem is that when I paste the item PowerPoint tends to resize it automatically, depending on the size of the object in Excel (a small table might copy through at 100%, a larger graph at 33%). Now I can resize it manually in PowerPoint, however I'm doing this multiple times and would prefer it to paste the chart at 50% of the original size every time (this also ensures font sizes remain the same throughout the ppt doc).

This may seem like a wee bit of an odd question but a solution would make my life a lot easier! Thanks in advance.

Sim
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Change sheet and chart names accordingly.
Code:
[COLOR="Blue"]Sub[/COLOR] ChangeChartSize()

    [COLOR="Blue"]With[/COLOR] Sheets("Sheet1").Shapes("Chart 1")
        .Width = .Width / 2
        .Height = .Height / 2
    [COLOR="Blue"]End[/COLOR] [COLOR="Blue"]With[/COLOR]
    
[COLOR="Blue"]End[/COLOR] [COLOR="Blue"]Sub[/COLOR]
 
Last edited:
Upvote 0
Thanks Sektor,

I'm not super-techy when it comes to coding within Excel. Presumably I have to do this in the VBA in excel? To be honest I'm not entirely sure where to input the code.

Also will this work for every graph and table once I've inserted the code in the appropriate place?

If I could get a slightly more step-by-step guide that would be most appreciated.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,282
Members
452,902
Latest member
Knuddeluff

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