How do I add picture from folder into placeholder with VBA PPT_07?

M

MM

I'm trying to write a macro to insert an image that into a placeholder that
already exists on my layout. I know how to do this with text:
With MySlide.Shapes
.PlaceHolders(1).TextFrame.TextRange = "This is my text"
The above snippet puts "This is my text" into Placeholder #2. I'm stuck so
far on how do do this with pictures. Any help would be much appreciated
By the way -I've seen the terrific Sub ImportABunch() on pptfaq.com. But
that approach uses the AddPicture method and ignores existing placeholders
... or am I missing something? Also, thanks to Lucy and other for
responding to my previous questions
 

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