Prevent workbook Embedding in Powerpoint

qualitative

New Member
Joined
Aug 31, 2011
Messages
1
Hi,

I have built an Excel tool that helps my coworkers create charts quickly. They are supposed to copy the charts and paste into Powerpoint as either links to the workbook, or pictures. However, some of them are doing it wrong and embedding the entire workbook into powerpoint as an msoEmbeddedObject (powerpoint VBA's keyword for it).

This is bad for a number of reasons. I have been looking around and am unable to find info on how to prevent this... is there some VBA code I can use to stop embedding? Is there some workbook setting?

Another option might be to put some code that only allows copying pictures from the workbook ("Copy As... Picture"). This page on ozgrid has some code that starts by preventing cutting and copying altogether, but I haven't used VBA to mess with copy/paste modes before, so I am unsure how to modify it to allow copying as a picture.
http://www.ozgrid.com/VBA/disable-cut-copy.htm

Thanks in advance for any insight!

Windows 7, Office 2010
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,215,417
Messages
6,124,791
Members
449,188
Latest member
Hoffk036

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