Goto last slide

A

avfc4me

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
 
B

Bill Dilworth

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
..
 
A

avfc4me

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!
 

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

Top