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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,224,520
Messages
6,179,267
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