referencing a picture in vba

  • Thread starter Thread starter Candace
  • Start date Start date
C

Candace

I have the following code that can be used to make a shape invisible:

ActivePresentation.Slides(2).Shapes(3).Visible = False

How can I alter this code to make a picture invisible?
 
I have the following code that can be used to make a shape invisible:

ActivePresentation.Slides(2).Shapes(3).Visible = False

How can I alter this code to make a picture invisible?

That code will work just fine if the picture is Shape 3 on Slide 2.
Pictures are just a special type of shape and are part of the .Shapes
collection on a slide. The trick is knowing whether or not the pciture is
shape 3.

--David
 
Hi David,

I'm reading your book right now! I'm using it to create my first
presentation that includes VBA. You've made some of the things I've always
wanted to do with PP so simple to understand. Thanks!!!!!
 
Thank you so much. I'm glad to hear it.
--David

Hi David,

I'm reading your book right now! I'm using it to create my first
presentation that includes VBA. You've made some of the things I've
always wanted to do with PP so simple to understand. Thanks!!!!!
 
Back
Top