VBA Q

  • Thread starter Thread starter Alexf
  • Start date Start date
A

Alexf

Hello, could you help me with this?

First, Slide 3 is blank.
Say that I press a button on slide 2. This triggers a picture to appear on
slide 3.
When I exit the presentation, then return to slide 3 directly, I will still
see the picture without having to click the button on slide 2. Is there any
way I can do this?
 
ActivePresentation.Slides(3).Shapes("YourShapeName").Visible = msoTrue

This will set the shape that is named YourShapeName on slide 3 to be
visible. If you exit the slideshow, the shape will still be visible.
However, if you close the presentation and don't save, the change you
made will not be kept so you might want to add:

ActivePresentation.Save

That will automatically save the change. If you want to make the shape
invisible again, just use the same line with msoFalse instead of
msoTrue.

--David
 
Back
Top