Presentation.Windows (PowerPoint)
Returns a DocumentWindows collection that represents all document windows associated with the specified presentation.
This property doesn't return any slide show windows associated with the presentation. If your Visual Studio solution includes the Microsoft.Office.Interop.PowerPoint reference, this property maps to the following types:
Dim dwsWindows As DocumentWindows
Set dwsWindows = ActivePresentation.Windows