Automatic Run macro when slide is shown

  • Thread starter Thread starter johan
  • Start date Start date
J

johan

(happy new year to all)
Maybe somebody can help me.

I need a macro that, when I come on a specific slide, the slideshow
goes directly to the previous slide ( something like : on activating
-> SlideShowWindows(1).View.Previous )

regards,
Johan
 
Johan,

What is it you are trying to achieve by having a macro going to the previous
slide?

Cheers
TAJ Simmons
microsoft powerpoint mvp

awesome - powerpoint backgrounds,
http://www.awesomebackgrounds.com
free powerpoint templates, tutorials, hints, tips and more...
 
Hoi,

It looks very stupid but, it's really the thing that I want.

for example :
1. I show slide nr.4 with his text actions (fly in etc..).
2. In this slide there are a few buttons to other slides (slide 20,
31, 48).
3. On the other slides there is a button that return me to slide 5
(4+1=5).
4. I need a macro that, when I come on this slide 5, he automaticle
show me the
previous slide. (not slide number 4, but "the previous").

Why the "previous", because only then the text actions on that slide nr
4 isn't show again each time that I come back on that slide. In the
slide show I hidden slide nr 5.

regards,
Johan
 
Because you are using a button to navigate, you can associate the macro
with the button click. The macro should look something like this:

Sub Goto4NoReset()
ActivePresentation.SlideShowWindow.View.GotoSlide 4, msoFalse
End Sub

This will take you to slide 4, and the second parameter (msoFalse) takes
tells PowerPoint not to reset the animations. With this, there should be
no need to pass through slide 5.

--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/
 

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

Back
Top