"Back" hyperlink (not go to last slide viewed or to previous slide)

  • Thread starter Thread starter coda
  • Start date Start date
C

coda

For slide shows where hyperlinks have been used to jump from slide to
slide, I'd like to provide a "back" button that works like the "back"
button in a browser. I.e., it remembers on a stack the slides that
were viewed and pops its way back in the reverse order. A hyperlink
to the "last slide viewed" only goes back one level, and then toggles
between the pair of most recently viewed slides.

Does anyone have a way to implement this? I want it bad enough to
program a Pp add-in if necessary. Any thoughts about how to do that?
Thanks.
 
First, you would need to make all navigation happen through links. Then,
each button that goes to the next slide or another slide will have to use
VBA, e.g.:

ActivePresentation.SlideShowWindow.View.Next

or

ActivePresentation.SlideShowWindow.View.GotoSlide 7

Then the procedures that contain those lines would also have to track
every slide that is gone to. I picture two variables: an array of
integers that has the slide number of each slide in it; and a counter to
count where you are in the array. Each click of a navigation button
would put the next slide's number in the array location in the number
held by the counter. A back button would simply subtract one from the
counter and go to that number instead.

Now that I describe it, it doesn't seem like it would be that hard to do.

--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/

(e-mail address removed) wrote in 4ax.com:
 
A (not better, not worse, just different) approach would be to add an event
handler to trap the slide change event.

On each slide change it adds the index (a long) of the current slide to an
array and updates a variable to point to the current index of the array.

The Back button calls a macro that goes to the slide pointed to by
array(current_position - 1)
 
Thanks very much.
Too bad all navigation would need to be through links.
It would be much better if the page up/down keys could be used.
Is there no way to get control in a VBA program on a page up/down
keystroke or to otherwise get contol on page transitions?
 
Wow!!! This is exactly what I wanted, and so easy to use. Thanks
very very much.
 
There is some ability to trap events. I believe Steve's talked about
that in his post. But, it appears that you got your solution. Chirag
came through with an add-in.
--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/

(e-mail address removed) wrote in
 
Chirag,

I found this download very helpful. Thank-you. I had a follow-up
questions. Could this add-in be extended so it could work when a SlideShow
goes across multiple .ppt files? I have a presentation that hyperlinks
several files together, and it would be helpful to use your add-in in this
setting.
 

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