VBA code to copy into Powerpoint

B

Barb Reinhardt

I've copied some graphics from Excel and want to paste them into PowerPoint.
I can get them to fully display if I paste special. What is the code to
pastespecial and insert them as an enhanced metafile?

Thanks
 
D

David M. Marcovitz

ActivePresentation.Slides(1).Shapes.PasteSpecial ppPasteEnhancedMetafile

That pastes onto slide 1. However, I believe that PasteSpecial is a recent
addition so this won't work in older versions of PowerPoint. I know it
works in 2003, and I'm fairly sure it doesn't work in 2000, but I'm not
sure about 2002.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

=?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top