PowerPoint Paste Special using C#

A

Abongs

Hi,

how can i use the "PowerPoint Paste Special" using C# or VB.Net etc?

I have a picture to paste in PowerPoint. The picture is a metafile containng
texts and Symbols. But the normal paste transform the symbols and i become
incorrect symbols.

Thanks,

Abongs.
 
J

Jim Gordon

Hi,

Did you try VBA with something like this?

With ActivePresentation
.Slides(1).Shapes.Paste
End With

This takes whatever is on the clipboard and pastes it into slide 1.

-Jim Gordon
Mac MVP
 
A

Abongs

Thanks Jim,

but i need a paste special because i have problem with the simple Paste
function.
I have to paste a metafile on a powerpoint presentation. Without
"PasteSpecial" i can't have a correct picture.

Any idea?
Thanks
Abongs
 
D

David M. Marcovitz

On the Windows side, PasteSpecial is only available in VBA on the latest
versions of PowerPoint (possibly just 2003; I'm not sure about 2002). It
is probably not available on the Mac even in the latest version.
--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/
 
J

Jim Gordon

Hi again,

Dave is correct. There is no PasteSpecial function in Mac PowerPoint.

So let's think of some possible work-arounds. Does the computer have
Excel, too? If yes, you could try PasteSpecial in Excel then cut or copy
the result into PowerPoint and see whether that gives you a good result.

Perhaps you could use an AppleScript to paste the metafile image into
some other application and then copy to PowerPoint or save as a file and
import the result into PowerPoint.

-Jim Gordon
Mac MVP
 

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