SlideShowView.Next doesnt always work

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I'm trying to automate powerpoint using VB and i'm having problems with the
presentation sometimes going out of sync..

I have the next button calling a slideshowview.next method but this
sometimes does not work correctly - possibly due to the animations in the
presentation.

Is there any way that if the next methods fails that i can goto the next
animation in the presentation (i.e. reference the animation uniquely) ?
also does anyone know of any known issues with the slideshowview.next
command not working?
 
When there is animation, Next will run the next animation, rather than
going to the next slide. If you really want to go to the next slide (and
skip the remaining animation), you might try something like this:

Sub NextReally()
Dim myNum As Long

myNum = ActivePresentation.SlideShowWindow.View.Slide.SlideIndex
ActivePresentation.SlideShowWindow.View.GotoSlide myNum
End Sub


However, you want said you really want to do the next animation.
Perhaps, you can post here a bit of the code that is not working. You
mentioned SlideShowView.Next. Did you mean SlideShowWindow.View.Next?

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