Pasting bitmaps to PowerPoint shapes

R

Robert Crago

Hi there,

[Also posted to general PowerPoint newsgroup]

I am trying to paste a bitmap from the clipboard into a
placeholder shape on a PowerPoint document.

The only way I can find to do it is by using:
ActiveWIndow.View.Paste

AFter I have first selected the required shape with:
ActiveWindow.Selection.SlideRange.Shapes
("Rectangle 3").Select

If I just run the macro, the pasted image appears in the
slide as a NEW shape, instead of replacing the
placeholder as expected. However, if I click on the
selected shape with the mouse first, the pasted image
appears within the shape as I expected.

Can anyone tell me what is going on here, and what code I
need to get the pasted image to always appear within the
selected shape without manual intervention?

Thanks so much...

Robert
 

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