vba puzzle?

G

Geoff Cox

Hello,

Steve (Rindberg) kindly helped me with the code below - which adds an
action button to the last slide in a series of ppt files.

I am trying to get the hang of vba but cannot see how the last slide
is found?!

I would like to use that value to attempt to list the number of
slides in each presentation.

Help appreciated!

Cheers

Geoff
 
D

David M. Marcovitz

Do you want the number of the last slide:

ActivePresentation.Slides.Count

or the last slide itself:

ActivePresentation.Slides(ActivePresentation.Slides.Count)

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