Designs.Count property (PowerPoint)
Returns the number of objects in the specified collection. Read-only.
expression A variable that represents a Designs object.
This example closes all windows except the active window.
With Application.Windows For i = 2 To .Count .Item(2).Close Next End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.