Goto last slide

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

Guest

Sorry about that, hit the wrong button.

I have
ActiveWindow.ViewType = ppViewNormal
ActiveWindow.View.Zoom = 76
Step3.Show

but I want it to go to the last slide in the presentation, and I'm not sure
how to get there. I've searched the last hour or so and can't find anything,
not in my books, either...it seems like it'd be as easy as GoTo last, but I'm
obviously missing something. I can do the count slides, thing, yes? But then,
how to access the count to get to the actual slide?


Dim oSlide As Slide
Dim count As Integer
count = 0
 
I think this might be the line of code you are looking for:
ActiveWindow.View.GotoSlide _
ActivePresentation.Slides.Count


--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
Yes, that was exactly what I was looking for! Thank you, thank you, I tested
it, it works, and now? Now, I can finally go to bed! Thank you!
 
Back
Top