Current Slide

B

BillCPA

Is there any way in VBA to determine which slide is currently the active slide?
 
B

Bill Dilworth

SlideShowWindows(1).View.CurrentShowPosition

Remember to trap for errors. For instance if there is no slide show
currently running and such.

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

David M. Marcovitz

Is there any way in VBA to determine which slide is currently the
active slide?

In Slide Show view:

ActivePresentation.SlideShowWindow.View.Slide

refers to the current slide. Add a .SlideIndex to get the number of the
current slide.

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

Top