Show the number of slides in the active presentation.
Sub Number_Slides()
MsgBox ActivePresentation.Slides.Count
End Sub
| ActivePresentation - A read-only property that returns a Presentation object that represents the presentation open in the active window. |
| Slides - A read-only property of the Presentation object that returns a Slides collection that represents all slides in the specified presentation. |
| Count - A read-only property of the Slides collection that returns the number of slide objects. |
|